Ask a Question

Generate HTML report for Data driven testing in Soap UI open source

Prabaharan
Contributor

Generate HTML report for Data driven testing in Soap UI open source

Hi All,

 

Greetings!

 

I have created a project in soap ui (free version) with groovy scripts to achieve the following functionalities 

 

 - Data driven testing

 - automatic saving the test results to a specified placeholder after each iterations

 

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

Appreciate your help if you can help me in generating a Junit style HTML report with complete information about my soap project.

Thanks in Advance.

5 REPLIES 5
ChrisA
Contributor

Re: Generate HTML report for Data driven testing in Soap UI open source

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?

Prabaharan
Contributor

Re: Generate HTML report for Data driven testing in Soap UI open source

Hi ChrisA,

 

Yes you right.

ChrisA
Contributor

Re: Generate HTML report for Data driven testing in Soap UI open source

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.  

Prabaharan
Contributor

Re: Generate HTML report for Data driven testing in Soap UI open source

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.

ChrisA
Contributor

Re: Generate HTML report for Data driven testing in Soap UI open source

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.

cancel
Showing results for 
Search instead for 
Did you mean: