DigitalDyn
DigitalDyn

Reputation: 165

SOAPUI JUnit Reports not generated for individual test steps

My test will fetch test input data from a csv file and sticks them in my soapui's http request and fires them to target server. Since there are 1000s of inputs in my csv file, I cannot have individual test case for each individual input data. Therefore I just have one http test request (for numerous inputs.). A simple data driven approach.

I am using Jenkins to run my test, unfortunately in my junit report I just see 1 test case fail (or pass, if all the iteration passed) and nothing else

Instead I would like to have a junit report that will have each individual steps considered as individual test case. In general a report that will be based on test steps level.

Any help in this is really appreciated.

I allow SOAPUI to run and create junit reports uning the following command (as part of Jenkins)

sh /home/test/SmartBear/soapUI-Pro-4.5.2/bin/testrunner.sh -a -j -r -f/var/www/SOAPUI/Reports/ -ehttp://mytestserver.com/cgi-bin/test.fcgi -FDF -EDefault -I -S MySOAPUI_TestProjectFile.xml

Upvotes: 2

Views: 3018

Answers (1)

djangofan
djangofan

Reputation: 29689

That's easy. In SoapUI, instead of putting multiple tests steps in one test case, just put each test step in its own test case. Then, the report will show separation of each step on the report.

Upvotes: 0

Related Questions