"TestRunner -r" to Print Summary Report

Q

How to use SoapUI "TestRunner -r" command option to print test result summary?

✍: FYIcenter.com

A

If you want to get a nice simple test result summary, you can use the SoapUI "TestRunner -r" command option as shown below:

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

13:28:29,421 INFO  [WsdlProject] Loaded project from [file:/C:/fyicenter/flic...
13:28:29,421 INFO  [SoapUITestCaseRunner] Running SoapUI tests in project [Pr...
13:28:29,437 INFO  [SoapUITestCaseRunner] Running Project [Project 1], runTyp...
13:28:29,452 INFO  [SoapUITestCaseRunner] Running SoapUI testcase [TestCase 1...
13:28:29,452 INFO  [SoapUITestCaseRunner] running step [flickr home]         ...
13:28:29,842 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute ...
13:28:29,842 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultCli...
13:28:30,014 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultCli...
13:28:30,029 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kep...
13:28:30,201 INFO  [SoapUITestCaseRunner] running step [flickr image]        ...
13:28:30,201 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection chec...
13:28:30,217 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute ...
13:28:30,217 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultCli...
13:28:30,514 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultCli...
13:28:30,530 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kep...
13:28:30,609 INFO  [SoapUITestCaseRunner] Finished running SoapUI testcase [T...
13:28:30,609 INFO  [SoapUITestCaseRunner] Project [Project 1] finished with s...

SoapUI 5.2.0 TestCaseRunner Summary
-----------------------------
Time Taken: 1186ms
Total TestSuites: 1
Total TestCases: 1 (0 failed)
Total TestSteps: 2
Total Request Assertions: 0
Total Failed Assertions: 0
Total Exported Results: 0

The summary report tells you that 2 test steps were executed with no failed assertions.

 

"TestRunner -M" for Test Run Log Report

Run SoapUI Test Case with TestRunner Command

Using SoapUI TestRunner Command

⇑⇑ SoapUI Tutorials

2018-02-28, 302👍, 0💬