Is there any way to combine multiple SoapUI project jUnit html report into a single combined report.
Project 1 - index.html
Project 2 - Index.html
CombinedIndex.html (Content of Project 1 and Project 2)
You could just merge the html reports using something like:
I am using Gradle Build to trigger the SoapUI test execution and generating the jUnit HTML report.
It is getting done in Linux env using Jenkins job.
Number of SoapUI project is dynamic and its passed as parameter.
So i can not use any desktop software.
I can write a html code to merge it, but i wanted to explorer the option in SoapUI or Gradle task to do it.
and my main focus is on merging the test summary as well.
I am pretty sure the functionality you are after is not (currently) a feature I am aware of in ReadyAPI / SoapUI NG Pro. That being said, as @sanj pointed out, there are other ways of making this happen outside of the software.
If that's not sufficient, you may be able to concatenate the files if you add on a Project that contains a groovy script that can do that for you. Barring that, you can make a Feature Request here.
If I have to achieve the same, here is what I would do.
And I believe that we do not have do any thing except that provide all the junit report xml file to transform into html. Just change of sequence. The generated report appears exactly what you wanted.
Personally do not use gradle, but ant and doing the above mention way to achieve the same. You should be able to achieve it using gradle too, I guess.
Thank you all for the valuable input.
There are multiple html report file are being generated for a single SoapUI project as part junit report generation so concatenating them all or concatenating corresponding html file will not meet the requirement where i need to have combined summary report.
@nmrao Yes.. I am thinking in same line where we can merge the XML report collecting all testsuite elements from all XML reports and putting them together and then convert that into HTML so that i will have Combined summary report.
This is files in report folder. It has all html and xml reports. Apart from this there is one subfolder which has couple of
supporting html files.
For 2nd point, I have got couple of report merger plugin. Need to check them and create task using those plugins.