I had an ANT script that executes SOAPUI reports and generates TEST-*.xmls. The next ANT script code generates html report and find below the ANT code for JUNIT report:
<junitreport todir="${basedir}/build/soapui-reports-html">
<fileset dir="/opt/jenkins/workspace/soapui-reports">
<include name="**\TEST-*.xml" />
</fileset>
<report format="frames" styledir="${basedir}/styledir"
todir="${basedir}/build/soapui-reports-html">
<param name="current-date" expression="${TODAY}"/>
<param name="element-name" expression="${element.name}"/>
</report>
</junitreport>
I am currently moving the whole SOAPUI test execution in Gradle from ANT and am able to get the TEST-*.xml for each project. It would be great help if there is any code to get the JUNIT report ie index.html using same gradle script.
You can use this gradle plugin to configure your soapUI gradle integration. And then set junitReport
task properties to true as mentioned , to get Junit type report
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.