Jacob_Hassing
16 years agoContributor
junit report from SoapUIProTestCaseRunner
hi i run a test suite from junit,
i want to generate a junit style report from the run, and i am really guessin here as i cant find it documented.
i have following testcase :
SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner();
WsdlProject project = new WsdlProject("F:\\Test\\Soapui\\soapui-project.xml" );
JUnitReportCollector reportCollector = new JUnitReportCollector();
System.setProperty("script.library", "F:\\Test\\Soapui\\scripts");
runner.setProjectFile( "F:\\Test\\Soapui\\soapui-project.xml" );
runner.setEndpoint("http://andenserver:8085/danid/services/IdentityServiceV1R13");
runner.setSettingsFile("C:\\Users\\mwl\\soapui-settings.xml");
runner.setTestSuite("theSuite");
runner.run();
runner.exportJUnitReports(reportCollector, "C:\\Users\\mwl\\tmp", project);
i have tried putting exportJUnitReports before and after run method.
i both cases i get an empty junit report
i want to generate a junit style report from the run, and i am really guessin here as i cant find it documented.
i have following testcase :
SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner();
WsdlProject project = new WsdlProject("F:\\Test\\Soapui\\soapui-project.xml" );
JUnitReportCollector reportCollector = new JUnitReportCollector();
System.setProperty("script.library", "F:\\Test\\Soapui\\scripts");
runner.setProjectFile( "F:\\Test\\Soapui\\soapui-project.xml" );
runner.setEndpoint("http://andenserver:8085/danid/services/IdentityServiceV1R13");
runner.setSettingsFile("C:\\Users\\mwl\\soapui-settings.xml");
runner.setTestSuite("theSuite");
runner.run();
runner.exportJUnitReports(reportCollector, "C:\\Users\\mwl\\tmp", project);
i have tried putting exportJUnitReports before and after run method.
i both cases i get an empty junit report