Bug 58279

Summary: Allow custom HTTP Sampler
Product: JMeter - Now in Github Reporter: Ryan <ryan>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Attachments: Patch allowing user to specify http sampler

Description Ryan 2015-08-24 14:45:56 UTC
Created attachment 33033 [details]
Patch allowing user to specify http sampler

It would be convenient to allow a custom HTTP sampler to be specified in the properties configuration.  

Leaving the sampler empty already uses the default specified in the properties file.  The attached patch uses the class specified in jmeter.properties as the sampler such as:
jmeter.httpsampler=com.example.MySampler

The custom sampler just needs to be in the classpath and it will be instantiated.  

Existing functionality which utilizes the jmeter.httpsampler property should continue to work as-is.
Comment 1 The ASF infrastructure team 2022-09-24 20:38:00 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3654