Home
Analytics
Getting Null Pointer Error While Doing Load Testing With JMETER
anand481
I am using JMeter for performance testing the Birt reports,first I am recording the pages and then running the application through the JMeter by simulating N(10,100) number of user.I am able to get the desired result for UI part but not able to record and run for the Birt reports.
In the response Data we are getting the following error for reports/FrameSet component:
?xml version="1.0" encoding="UTF-8"?>BirtSoapBindingImpl.getUpdatedObjects( )The viewing session is not available or has expired.MDC2BDEAN01.
And for report Report/preview component I am getting the following error:
java.lang.NullPointerException
org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:172)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
I have checked the JSESSIONID for both the UI components and Birt report components,JMeter is recording and sending the same JSESSIONID .
I have added the HTTP cookie Manager in the Thread group.
Can anybody plz help me
Regards,
Anand
Find more posts tagged with
Comments
kimberlad
Did you ever get an answer to this? Were trying to record BIRT reports, but are getting the same error message.
glinius
<p>I guess that the problem is with "javax.faces.Viewstate" mandatory dynamic parameter (or similar) which also needs to be correlated. </p><p> </p><p>Correlation process assumes extraction of dynamic value from previous response and passing it with the next response. JMeter offers several Post Processors which enable this functionality. The most popular are:</p><p> </p><ul class='bbc'><li><a data-ipb='nomediaparse' href='
http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor'>Regular
Expression Extractor </a></li><li><a data-ipb='nomediaparse' href='
http://jmeter.apache.org/usermanual/component_reference.html#XPath_Extractor'>XPath
Extractor </a></li><li><a data-ipb='nomediaparse' href='
http://jmeter.apache.org/usermanual/component_reference.html#CSS/JQuery_Extractor'>CSS/JQuery
Extractor</a></li></ul><p> </p><p>For real life correlation example see <a data-ipb='nomediaparse' href='
http://blazemeter.com/blog/aspnet-login-testing-jmeter'>ASP.NET
Login Testing with JMeter</a> I realize that it isn't very Java related but it shouldn't make any difference from JMeter perspective.</p>