Forum Discussion

Andreivan's avatar
Andreivan
New Contributor
11 years ago

[Resolved] Does not generate PDF report via command line

Hi all,

I'm using the version 4.6.0 of SoapUi PRO, and I'm trying generate a PDF report via command line, with following command:

start \\192.168.2.136\SmartBear\soapUI-Pro-4.6.0\bin\testrunner.bat -fC:\TestResults -o -a -r -FPDF -R"Project Report" \\192.168.2.136\PJ_PS_OrderGateway\PJ-PS-OrderGateway-soapui-project.xml -s TS_SendNFCe_SendToSefaz -c TC_SendNFCeWithFinalCons_CST20

But the result is that the report not is generated, showing the following result in the execution:

10:37:34,355 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Sending request: POST /services/erp/order/v1/PS_OrderGateway.erp/ord
er/v1/PS_OrderGatewayHttpSoap11Endpoint/ HTTP/1.1
10:37:36,366 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClient
Connection] Receiving response: HTTP/1.1 200 OK
10:37:36,370 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept a
live indefinitely
10:37:36,429 INFO [SoapUIProTestCaseRunner] Assertion [SOAP Response] has statu
s VALID
10:37:36,430 INFO [SoapUIProTestCaseRunner] Assertion [Valid HTTP Status Codes]
has status VALID
10:37:36,430 INFO [SoapUIProTestCaseRunner] Assertion [Contains] has status VAL
ID
10:37:36,438 INFO [SoapUIProTestCaseRunner] Finished running soapUI testcase [T
C_SendNFCeWithFinalCons_CST20], time taken: 2659ms, status: FINISHED
10:37:36,441 INFO [SoapUIProTestCaseRunner] TestCase [TC_SendNFCeWithFinalCons_
CST20] finished with status [FINISHED] in 2659ms

SoapUI 4.6.0 TestCaseRunner Summary
-----------------------------
Time Taken: 2751ms
Total TestSuites: 0
Total TestCases: 1 (0 failed)
Total TestSteps: 5
Total Request Assertions: 3
Total Failed Assertions: 0
Total Exported Results: 5


Anybody has the same problem?

Thank you!

2 Replies

  • Hi,

    The -R"Project Report" should be changed to -R"TestCase Report".
    I was able to generate a PDF report using the following command line:

    <SoapUI Pro install>\testrunner.bat -s"Sample Simple TestSuite" -c"Simple Login and Logout Property Expansion" -r -a -fC:\SoapUI\Support\temp\report -R"TestCase Report" -FPDF -EDefault C:\sample-soapui-pro-project.xml
  • Andreivan's avatar
    Andreivan
    New Contributor
    Marcus,

    Changed the report template and worked. Thank you for the help!