Bug 37652 - Support the Tomcat AJP/1.3 protocol
Summary: Support the Tomcat AJP/1.3 protocol
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2005-11-27 05:52 UTC by william.barker
Modified: 2006-05-21 09:55 UTC (History)
0 users

Selector Class File (13.33 KB, text/plain)
2005-11-27 05:54 UTC, william.barker
Sampler GUI class (1.13 KB, text/plain)
2005-11-27 05:57 UTC, william.barker

Note You need to log in before you can comment on or make changes to this bug.
Description william.barker 2005-11-27 05:52:16 UTC
I've written a Selector for the AJP/1.3 protocol (what Tomcat uses with 
mod_jk), that I'd like to offer to JMeter.  It allows you to test Tomcat in 
AJP mode without actually having Apache installed and configured (which, is 
probably a minority interest case).

It works pretty well for HTTP against trunk.  It probably needs some work for 
https (mostly GUI for entering in key-size, cipher, client-cert, et. al., 
since I'm lazy :).  I'm happy to help with the protocol side if anybody wants 
to add this stuff.
Comment 1 william.barker 2005-11-27 05:54:58 UTC
Created attachment 17053 [details]
Selector Class File

Needs to be re-packaged (since I'm not involved enough with JMeter to choose a
good package name).  However, the ASF Licence allows you to do that without
Comment 2 william.barker 2005-11-27 05:57:14 UTC
Created attachment 17054 [details]
Sampler GUI class

Needs to be re-packaged.  I'm not involved enough with JMeter to come up with a
good package name myself.  However, the ASF License allows you to do just that
with no problem.
Comment 3 Sebb 2005-11-27 13:08:20 UTC
Thanks very much. I'll try and take a closer look shortly.
Comment 4 Sebb 2006-05-21 16:55:17 UTC
Finally got around to adding the code to the 2.1 branch.
It will be in the next release.

Seems to compile OK, but I was not able to test it.

I had to make the responseData field transient in order to pass the
serialisation test.