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, ∼2881🔥, 0💬
Popular Posts:
How to generate passwords? To help you to obtain some good passwords for testing purpose, FYIcenter....
How to use HTTP protocol to post an XML message to a server? You can follow this tutorial to post an...
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
How to access Response Status Code 400 as Success? My sampler failed, because the server returns the...
Where to find online test tools? FYIcenter.com has prepared a number of online test tools: Data Look...