Forum Discussion

Wave_Crest_Hold's avatar
Wave_Crest_Hold
Contributor
15 years ago

Not able to generate PDF Report via command prompt in Pro

Hi All,

Not able to generate PDF Report via command prompt in SOAP UI Pro 3.6.1. Following is the command given in Windows command prompt:
testrunner.bat -ehttp://..../service/ -fE:\Reports -s"Suite" -t"TestCase" -R"TestCase Report" -FPDF test-soapui-project.xml

After running above PDF report is not generated in E:\Reports folder. Can someone help me?

Thanks In Advance,
Kiran.

13 Replies

  • Hello,
    I have the same problem using SoapUI Pro 4.0.2-SNAPSHOT (12/20/2010).
    The fact is that the only text case log and test case statiscitcs (both *.txt) were generated after the load test run.
    Here's the code:
    cmd.exe /C loadtestrunner.bat -s"LOAD TESTS" -c"LOAD TEST 1" -l"SIMPLE STRATEGY TEST 1" -m10 -n1 -r -fD:\reports\MY_LOAD -o -RMY_LOAD -F PDF -F XLS -F HTML -F RTF -F CSV -F TXT -F XML D:\trunk\my-soapui-project\MY_LOAD-soapui-project.xml

    There were no errors in the soapUI LoadTestRunner window.

    Regards,
    Sergey.
  • Resolved. I've changed -RMY_LOAD to -R"LoadTest Report" (according to the jasper report name stored in the soapui_folder\bin\reports\reports\loadtest\LoadTestReport-config.xml).
    cmd.exe /C loadtestrunner.bat -s"LOAD TESTS" -c"LOAD TEST 1" -l"SIMPLE STRATEGY TEST 1" -m10 -n1 -r -fD:\reports\MY_LOAD -o -R"LoadTest Report" -F PDF -F XLS -F HTML -F RTF -F CSV -F TXT -F XML D:\trunk\my-soapui-project\MY_LOAD-soapui-project.xml

    It works.

    Regards,
    Sergey
  • Luxoft International Support wrote:
    Resolved. I've changed -RMY_LOAD to -R"LoadTest Report" (according to the jasper report name stored in the soapui_folder\bin\reports\reports\loadtest\LoadTestReport-config.xml).
    cmd.exe /C loadtestrunner.bat -s"LOAD TESTS" -c"LOAD TEST 1" -l"SIMPLE STRATEGY TEST 1" -m10 -n1 -r -fD:\reports\MY_LOAD -o -R"LoadTest Report" -F PDF -F XLS -F HTML -F RTF -F CSV -F TXT -F XML D:\trunk\my-soapui-project\MY_LOAD-soapui-project.xml

    It works.

    Regards,
    Sergey

    Glad to hear, thanks for sharing!

    Henrik
    SmartBear Software