Configuring JMeter Part 7 - Recorder Proxy Configuration


In this article we are going to see how can we configure jmeter by changing property of JMeter. In this section we will see the Recorder Proxy settings in jmeter.propertie.

In the jmeter installed bin directory(in my case C:\apache-jmeter-2.8\bin), we get a file named jmeter.properties. Open this with note pad. We can find various properties which are activated and some are not yet activated.

-To set gap between HTTP requests while recording (Unit in MS)
proxy.pause=1000

-To add numeric prefix Sampler names (Number of steps like 1,2) [default false]
proxy.number.requests=true

-To set default HTTP Sampler (currently HttpClient4)
[Other Values = HTTPSampler, Java, HTTPSampler2, HttpClient3.1]
jmeter.httpsampler=HttpClient4

-To set content-type include filter to use(recording filter which will be recording)
proxy.content_type_include=text/html|text/plain|text/xml
[all used as OR here, we can also use one of the like text/html]

-To set content-type exclude filter to use(recording filter which will not be recording)
proxy.content_type_exclude=image/.*|text/css|application/.*
[all used as OR here, we can also use one of the like image/jpg]

-To set Default headers to remove from Header Manager elements
[Cookie and Authorization Manager are always removed]
proxy.headers.remove=If-Modified-Since,If-None-Match,Host
[Note : We can also use any one option also]

-To set binary content-type handling(by saving the request in a file)
proxy.binary.types=application/x-amf,application/x-java-serialized-object
-To set directory(The files will be saved in this)
proxy.binary.directory=user.dir
-To set file suffix(Files will be created with this filesuffix)
proxy.binary.filesuffix=.binary

To be noted, this is the proxy used for recording(local machine proxy server)

...Thanks...:)