Bug 54331

Summary: AjpSampler throws null pointer on GET request that are protected
Product: JMeter Reporter: gareth carter <gcarter.mail>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Severity: normal CC: p.mouawad
Priority: P2    
Version: 2.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: JMeter Log File
Ajp JMeter Test
AjpSampler Stacktrace
Sample Test plan showing issue againt tomcat

Description gareth carter 2012-12-19 15:56:18 UTC
AjpSample throws null pointer when you set the method to GET. This is due to the body field being null and never being populated when GET is selected.
Comment 1 Philippe Mouawad 2012-12-19 22:27:06 UTC
Can you attach a Test Plan showing the issue and the jmeter.log file ?

Thank you
Comment 2 gareth carter 2012-12-20 09:21:29 UTC
Created attachment 29781 [details]
JMeter Log File
Comment 3 gareth carter 2012-12-20 09:23:07 UTC
Created attachment 29782 [details]
Ajp JMeter Test

2 Tests, one to / and one to /cas-web/login. It only errors when accessing login page in cas. The other case works.
Comment 4 gareth carter 2012-12-20 09:23:55 UTC
Created attachment 29783 [details]
AjpSampler Stacktrace

This is the stacktrace when the AjpSample fails.
Comment 5 gareth carter 2012-12-20 09:29:12 UTC
To work the test case, you need to deploy cas to tomcat, I deployed cas to /cas-web so you'll need to change the test plan slightly if context name is different.
Comment 6 Philippe Mouawad 2012-12-20 13:15:33 UTC
Created attachment 29785 [details]
Sample Test plan showing issue againt tomcat
Comment 7 Philippe Mouawad 2012-12-20 13:17:50 UTC
Date: Thu Dec 20 13:16:32 2012
New Revision: 1424450

URL: http://svn.apache.org/viewvc?rev=1424450&view=rev
Bug 54331 - AjpSampler throws null pointer on GET request that are protected
Bugzilla Id: 54331