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.
Hello, Can you attach a Test Plan showing the issue and the jmeter.log file ? Thank you
Created attachment 29781 [details] JMeter Log File
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.
Created attachment 29783 [details] AjpSampler Stacktrace This is the stacktrace when the AjpSample fails.
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.
Created attachment 29785 [details] Sample Test plan showing issue againt tomcat
Date: Thu Dec 20 13:16:32 2012 New Revision: 1424450 URL: http://svn.apache.org/viewvc?rev=1424450&view=rev Log: Bug 54331 - AjpSampler throws null pointer on GET request that are protected Bugzilla Id: 54331 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3020