Bug 58279 - Allow custom HTTP Sampler
Summary: Allow custom HTTP Sampler
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.13
Hardware: All Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2015-08-24 14:45 UTC by Ryan
Modified: 2015-08-24 14:45 UTC (History)
0 users

Patch allowing user to specify http sampler (2.95 KB, patch)
2015-08-24 14:45 UTC, Ryan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:

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.