Reply
Frequent Contributor

Unable to generate report for load test

Executed a load test where threads increase by 3 every second till 60 seconds and at the end when i tried generating the report, i got following erro message-

Wed Jun 29 15:15:37 ADT 2011:ERROR:An error occured [net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : messages], see error log for details

Error Log:

Wed Jun 29 15:15:37 ADT 2011:ERROR:net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : messages
net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : messages
at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:659)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:327)
at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:402)
at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:361)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2045)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:749)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:252)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:110)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:923)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:85)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:624)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport.createReport(SourceFile:453)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport$ReportFillWorker.construct(SourceFile:416)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : messages
at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:119)
at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getFieldValue(JRAbstractBeanDataSource.java:96)
at com.eviware.soapui.reporting.reports.support.ExportableJRBeanCollectionDataSource.getFieldValue(SourceFile:125)
at net.sf.jasperreports.engine.fill.JRFillDataset.setOldValues(JRFillDataset.java:818)
at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:782)
at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1448)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:112)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:923)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:561)
at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59)
at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1132)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:111)
... 12 more
Caused by: java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Unknown Source)
at java.util.Arrays.asList(Unknown Source)
at com.eviware.soapui.support.types.StringList.<init>(StringList.java:38)
at com.eviware.soapui.reporting.reports.testcase.FailedTestStepResultWrapper.getMessages(SourceFile:79)
... 21 more
abhishekasthana.com

Re: Unable to generate report for load test

Hi!

hm.. this should be fixed in the 4.0 release, can you give that a go?

regards!

/Ole
eviware.com
Frequent Contributor

Re: Unable to generate report for load test

Can you please point me to the pro version of 4.0?

-Abhishek
abhishekasthana.com

Re: Unable to generate report for load test

Hi,

sure, get the nightly at http://www.eviware.com/Nightly-Builds/s ... uilds.html or the official release at http://www.eviware.com/Download-soapUI/ ... i-pro.html

regards,

/Ole
eviware.com
Frequent Contributor

Re: Unable to generate report for load test

Thanks.

-Abhishek
abhishekasthana.com