Forum Discussion

go2khurram's avatar
go2khurram
Contributor
9 years ago

Junit Style Report using SoapUI Open Source

Can anybody help that how can we created Junit style report using the free version of soapUI?

 

Thanks in advance.

  • rupert_anderson's avatar
    rupert_anderson
    Valued Contributor

    Hi,

     

    Via the UI this can be done by right-click (e.g. on project) Lauch TestRunner, you can then select the JUnit report style under the Reports tab:

     

    lauch test runner.png

     

    This effectively runs the testrunner script (found in the bin/ folder of SoapUI), the -j option is added on the testrunner.sh/bat if you want to generate JUnit reports via the command line instead e.g. 

     

    ./testrunner.sh -f"./reports" -j project.xml

    You can also produce JUnit reports using Maven and other script types.

     

    Is this what you're looking for?

     

    Cheers,

    Rupert

    • go2khurram's avatar
      go2khurram
      Contributor

      Rupert, Thanks for the prompt reply. Actually I had tried both options , I mean through test runners as well as command prompt. I have checked both options "Export Junit Results" and "Export Junit Result with test properties".

       

      It doses created all the resquest and response files for individual test cases , but did not created any report. Is any thing I am missing or do I have to install any thing alomg with the SoapUI?