pteichner
13 years agoOccasional Contributor
Junit report from SoapUIProTestCaseRunner
Hi All,
Currently I'm working on a project that will run projects itself (from groovy). The initial run will be using testrunner.bat or sh with the "executer" project.
I'm having trouble with genrating a Junit report.
Empty report
Empty report
Any help is welcome, cheers.
Currently I'm working on a project that will run projects itself (from groovy). The initial run will be using testrunner.bat or sh with the "executer" project.
I'm having trouble with genrating a Junit report.
Empty report
def currentProject = new com.eviware.soapui.impl.wsdl.WsdlProjectPro("$projectFullLocation")
def projectRunner=new com.eviware.soapui.SoapUIProTestCaseRunner('ProjectRunner')
projectRunner.setIgnoreError(true)
projectRunner.setJUnitReport(true)
projectRunner.setOutputFolder(reportingFolder.toString()+ "/" +currentProject.getName())
projectRunner.runProject(currentProject);
projectRunner.exportReports(currentProject)
Empty report
def currentProject = new com.eviware.soapui.impl.wsdl.WsdlProjectPro("$projectFullLocation")
def projectRunner=new com.eviware.soapui.SoapUIProTestCaseRunner('ProjectRunner')
def reportCollector = new com.eviware.soapui.report.JUnitReportCollector();
projectRunner.setIgnoreError(true)
projectRunner.setJUnitReport(true)
projectRunner.setOutputFolder(reportingFolder.toString()+ "/" +currentProject.getName())
projectRunner.runProject(currentProject);
projectRunner.exportJUnitReports(reportCollector, reportingFolder.toString()+ "/" + currentProject.getName(), currentProject);
Any help is welcome, cheers.