Forum Discussion
Re "Able to achieve the above functions as per expectations but need some help in generating a Junit style HTML report. I am able to generate HTML report but it is not working for the projects when implemented as Data driven"
Do you mean you only get one test result for the data-driven test, but you actually want to report each test within the data-driven test?
Hi ChrisA,
Yes you right.
- ChrisA4 years agoContributor
Hi,
I too need to report individual results from a data-driven. I don't use SoapUI's HTML reports, so I cannot comment if this can be achieved in the HTML reports.For my data-driven tests, I dump the test results into Excel. I can then add this sheet into a master result spreadsheet and compare results over the time. I also do this with performance tests for the same reason.
To capture the individual test results I use a data-sink step. These are a really easy way to dump data. Typically with my data-driven tests, and probably everyone elses, each row contains the test details and expected results. I can then dump each rows details into the data sink so it contains the test details, expected results and actual results.
- Prabaharan4 years agoContributor
Hi,
Thanks for the note. Interesting approach. But I wonder how this can be achieved in Soapui free version. Appreciate if you can elaborate in detail with steps, so that I can follow the same.
- ChrisA4 years agoContributor
Hi,
I believe the Open Source version has the data-driven test (e.g.data source, data sink) steps locked down. I have a licensed copy, so I cannot be sure.
But, I believe this can be achieved in the Open Source version. I've seen plenty of examples on this site and on Stack Overflow that described how to achieve the same using Groovy Scripts to read from a spreadsheet and write results to a file.