Collections:
"TestRunner -M" for Test Run Log Report
How to use SoapUI "TestRunner -M" command option to create a Test Run Log Report in XML format?
✍: FYIcenter.com
If you want to get a nice test run report in XML format,
you can use the SoapUI "TestRunner -M" command option as shown below:
C:\fyicenter>\fyicenter\SoapUI\bin\testrunner.bat -M -r flickr-project.xml ... 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
Open the "test_case_run_log_report.xml" file in a text editor. You see a Test Run Log Report in XML format:
<con:testCaseRunLog testCase="TestCase 1" timeTaken="1609" status="FINISHED" timeStamp="2018-01-28 14:02:48" xmlns:con="http://eviware.com/soapui/config"> <con:testCaseRunLogTestStep name="flickr home" timeTaken="869" status="UNKNOWN" timestamp="2018-01-28 14:02:49" endpoint="https://www.flickr.com/" httpStatus="200" contentLength="48875" readTime="45" totalTime="858" dnsTime="0" connectTime="688" timeToFirstByte="125" httpMethod="GET" ipAddress="127.0.0.1"/> <con:testCaseRunLogTestStep name="flickr image" timeTaken="740" status="UNKNOWN" timestamp="2018-01-28 14:02:50" endpoint="https://www.flickr.com/photos/hilberer/3997537815//" httpStatus="200" contentLength="52730" readTime="140" totalTime="735" dnsTime="0" connectTime="16" timeToFirstByte="579" httpMethod="GET" ipAddress="127.0.0.1"/> </con:testCaseRunLog>
⇒ "TestRunner -a" to Export All Results
⇐ "TestRunner -r" to Print Summary Report
2018-02-28, 1906🔥, 0💬
Popular Posts:
How to use HTTP protocol to post an XML message to a server? You can follow this tutorial to post an...
How to convert a date and time to a standard format? Date and time can be displayed in a number of s...
Where to find test data generators? FYIcenter.com has prepared a number of test data generators for ...
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
How to generate MAC addresses? To help you to obtain some MAC addresses for testing purpose, FYIcent...