Collections:
Run SoapUI Test Case with TestRunner Command
How to Run SoapUI Test Case with TestRunner Command?
✍: FYIcenter.com
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
2018-02-28, 2125🔥, 0💬
Popular Posts:
How to valid UUID/GUID strings? In order to help your programming or testing tasks, FYIcenter.com ha...
How to valid IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has d...
How to convert IPv4 to IPv6 addresses? In order to help your programming or testing tasks, FYIcenter...
How to generate ISBN numbers? To help you to obtain some ISBN numbers for testing purpose, FYIcenter...
How to convert a date and time to a standard format? Date and time can be displayed in a number of s...