"TestRunner -a" to Export All Results


How to use SoapUI "TestRunner -a" command option to Export All Results of all test cases?

✍: FYIcenter.com


If you want to get a dump report of all results of all test cases, you can use the SoapUI "TestRunner -a" command option as shown below:

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

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

Open the "TestSuite_1-TestCase_1-HTTP_Request-0-OK.txt" file in a text editor. You see a dump report of all results of all test cases :

Status: OK
Time Taken: 314
Size: 29621
Timestamp: Sun Jan 28 15:12:51 EST 2018
TestStep: HTTP Request

----------------- Messages ------------------------------

----------------- Properties ------------------------------
StatusCode: 200
Method: GET
HTTP Version: HTTP/1.1
Endpoint: http://dev.fyicenter.com
URL: http://dev.fyicenter.com/

---------------- Request ---------------------------
Host: [dev.fyicenter.com]
Accept-Encoding: [gzip,deflate]
User-Agent: [Apache-HttpClient/4.1.1 (java 1.5)]
Connection: [Keep-Alive]

GET http://dev.fyicenter.com/ HTTP/1.1
Accept-Encoding: gzip,deflate
Host: dev.fyicenter.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

---------------- Response --------------------------
Date: [Sun, 28 Jan 2018 20:12:52 GMT]
Transfer-Encoding: [chunked]
#status#: [HTTP/1.1 200 OK]
Content-Encoding: [gzip]
Keep-Alive: [timeout=15]
Connection: [keep-alive]
Content-Type: [text/html; charset=UTF-8]
X-Powered-By: [PHP/7.0.27]
Server: [Apache]

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Large collections of FAQs, tutorials and tips 
 for sotfware application and Web developers. - dev.fyicenter.com"/> 
<meta name="keywords" content="Developer"/>
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" type="text/css" href="/_style.css"/>
<title>FYI Center for Software Developers</title>


Using SoapUI LoadTestRunner Command

"TestRunner -M" for Test Run Log Report

Using SoapUI TestRunner Command

⇑⇑ SoapUI Tutorials

2018-02-14, 1471🔥, 0💬