Forum Discussion
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:
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
- go2khurram9 years agoContributor
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?
- nmrao9 years agoChampion Level 3I believe that creates an xml file of junit style. If you want to have an html report, you may use ant and the junit report file above as input so that it will generate html report. I believe, is this what you looking for?
You can check here for more details
http://stackoverflow.com/questions/12952019/html-report-for-junit-by-ant- go2khurram9 years agoContributor
Thanks Rao,
Yes it does create the an xml file but what I was expecting an html report.
Regards,
Related Content
- 9 years ago
- 4 years ago
- 5 years ago
Recent Discussions
- 22 hours ago