Forum Discussion

RohanPalkar's avatar
RohanPalkar
Occasional Contributor
12 years ago

Report Generation through Command Line

Hi,

I am trying to generate a custom report through command line using the following ::
"C:\Program Files\SmartBear\soapUI-Pro-4.5.0\bin\loadtestrunner.bat" -e"http://xxxxxxx" -s"Web_Services_Automation" -r -n"1" -fD:\Web_Services\SoapUITests -FPDF -Rmy_report -I "D:\\WS_BuildAutomation\\WebServices_Project.xml"

where "my_report" is the customized report template that I have made.

When I run the test suite using the SoapUI Launch Test Runner, it completes successfully & generates my reports. But when I trigger it through command line, I get the following errors on the prompt ----

net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Parameter not found : TestSuiteTestCaseResults
2. Parameter not found : TestSuiteTestCaseResults
3. Parameter not found : TestSuiteMetrics
4. Parameter not found : TestSuiteTestCases
at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:215)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport.generateJasperReport(SourceFile:318)
at com.eviware.soapui.reporting.engine.jasper.JasperReportEngine$GeneratableJasperReport.generate(SourceFile:123)
at com.eviware.soapui.SoapUIProLoadTestRunner.runWsdlLoadTest(SourceFile:119)
at com.eviware.soapui.tools.SoapUILoadTestRunner.runTestCase(SoapUILoadTestRunner.java:360)
at com.eviware.soapui.tools.SoapUILoadTestRunner.runSuite(SoapUILoadTestRunner.java:332)
at com.eviware.soapui.tools.SoapUILoadTestRunner.runRunner(SoapUILoadTestRunner.java:266)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:158)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:89)
at com.eviware.soapui.SoapUIProLoadTestRunner.main(SourceFile:46)

So what additional steps, if any, do I need to perform in order to run this through command line.
Could anyone please provide some help on the same.

Thanks,
Rohan Palkar
No RepliesBe the first to reply