Forum Discussion
5 Replies
- MWahlbergOccasional ContributorReason im asking is due to this problem: (duplicate test results (junit) in Jenkins/Hudson when using pro plugin:
viewtopic.php?t=17698
Since we wont use 3rd party extenstion (soapui-extension), we have no workaround for this.
Any suggestions of how to workaround this? - Hi,
I would suggest you to update the maven plugin to the link provided below this might fix the problem you are facing,
http://www.soapui.org/repository/maven2/com/smartbear/soapui/soapui-maven-plugin/4.6.4-m-SNAPSHOT/
If you use the open source maven plugin you will not be able to run pro features which include DataSource, Environments etc
http://www.soapui.org/Go-Pro/12-reasons-to-go-pro.html
Thanks,
Jeshtha - MWahlbergOccasional ContributorI tried with the snapshot, but the test reulst duplication persist as defined in
"duplicate test results (junit) in Jenkins/Hudson when using pro plugin"
viewtopic.php?t=17698
The root cause is that SOAPUI produces additional junit format file reports, that causes the duplication.
In this case the option to turn off the SOAPUI Reports is what is needed. Is that possible?
If not , can you suggest any other workaround?
We rely on the Hudson Test results for our CI process, and need the tests top display accurately. Big part of purchasing the pro license is the ability to run CI tests with maven plugin using pro features - Hi!
Yes, it's possible to disable the JUnit reports generation.
Try adding <junitReport>false</junitReport> to the configuration tag in the SoapUI Pro Maven plugin defined in your pom.xml.
See: http://www.soapui.org/Test-Automation/maven-2x.html
We have also created an internal ticket for the duplicated tests results in the standard SoapUI Pro Maven plugin SOAP-1750
--
Regards
Erik
SmartBear Sweden - MWahlbergOccasional ContributorThanks for the reply.
<junitReport>false</junitReport> is not what i want though, since i still wnat to keep the TEST xmls from the SOAPUI test runs. Its the additional "report.xml" (soapui pro report) that causes the duplication, in both surefire report plugin and junit results in hudson.
The workaround I found was to include only the TEST xmls for inclusion into hudson junit results in the hudson job configuration (freestyle project) using pattern expression
**/target/surefire-reports/TEST*.xml
This way the SOAPUI PRO report.xml is not included in result aggregation, and the eliminated the duplications in hudson Test Results
This does not work for surefire reports (surefire report plugin collects from all *.xml files, and there for cause duplicates), since Ive found no way to make surefire exlude some files when rendering the report.
Thanks for the ticket, the option to turn off soapui report xml is welcome