Run SoapUI Test Case with TestRunner Command


How to Run SoapUI Test Case with TestRunner Command?



You can follow this tutorial to run a SoapUI Test Case with TestRunner Command.

1. Open Windows command line window.

2. Go to the folder where your SoapUI project file is located and run the TestRunner command with the project file:

C:\fyicenter>\fyicenter\SoapUI\bin\testrunner.bat First-project.xml

INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\Users\fyicenter\soapui-settings.xml]
INFO  [PluginManager] 0 plugins loaded in 0 ms
INFO  [DefaultSoapUICore] All plugins loaded
SoapUI 5.2.0 TestCase Runner
INFO  [WsdlProject] Loaded project from [file:/C:/fyicenter/First-project.xml]
INFO  [SoapUITestCaseRunner] Running SoapUI tests in project [Project 1]
INFO  [SoapUITestCaseRunner] Running Project [Project 1], runType = SEQUENTIAL
INFO  [SoapUITestCaseRunner] Running SoapUI testcase [TestCase 1]
INFO  [SoapUITestCaseRunner] running step [HTTP Request]
DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] 
      Sending request: GET / HTTP/1.1
DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] 
      Receiving response: HTTP/1.1 200 OK
DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive for 15000 MILLISECONDS
INFO  [SoapUITestCaseRunner] Assertion [Contains] has status VALID
INFO  [SoapUITestCaseRunner] Finished running SoapUI testcase [TestCase 1], 
      time taken: 531ms, status: FINISHED
INFO  [SoapUITestCaseRunner] Project [Project 1] finished with status [FINISHED] in 1266ms

3. Check the status of each assertion to see if your test case is passed or not.

INFO  [SoapUITestCaseRunner] Assertion [Contains] has status VALID


⇒ "TestRunner -r" to Print Summary Report

⇐ What Is SoapUI TestRunner Command

⇑ Using SoapUI TestRunner Command

⇑⇑ SoapUI Tutorials

2018-02-28, 1597👍, 0💬