Tuesday, May 13, 2014

Configuring JMeter - jmeter engine and others

Configuring JMeter - jmeter engine and others

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 different settings for changing jmeter behavior in jmeter.properties file. This will be completing my full set of jmeter configuration posts.

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.

 -To stop controller accessing variables before creation (like old jmeter 2.0.3) UN-Comment this.
jmeterthread.startearlier=false

-To run PostProcessors revarse(like old times) Uncomment this
jmeterthread.reversePostProcessors=true

-To stop notifying listeners after run to access variables(like old behavior), uncomment this
jmeterengine.startlistenerslater=false

-To set time(ms) to wait for stopping a thread
jmeterengine.threadstop.wait=5000

-To invoke System.exit(0) in server exit code after stopping RMI
jmeterengine.remote.system.exit=false

-To call System.exit(1) on failure to stop threads in non-GUI mode.(If disabled, it may be necessary to kill the JVM externally)
jmeterengine.stopfail.system.exit=true

-To set pause time(ms) in the daemon thread before reporting that the JVM has failed to exit.
[If the value is <= 0, the JMeter does not start the daemon thread]
jmeter.exit.check.pause=2000

-To set jmeter listens 4445 port for shutdown message (non-GUI)[To disable, set the port to <=1000]
jmeterengine.nongui.port=4445

-To keep trying to reach a initial port on busy(non-GUI, To disable,set the value less than or equal to the .port property)
jmeterengine.nongui.maxport=4455

-To set time(ms) to check for shutdown during ramp-up
jmeterthread.rampup.granularity=1000

-To expand test plan tree on load [default false]
onload.expandtree=false

-To set max size of HTML page to display[default=200 * 1024, Set to 0 to disable the size check]
view.results.tree.max_size=0

-To disable JMS Point-to-Point Sampler from using the properties java.naming.security.[principal|credentials] when creating the queue connection.(un-comment this line)
JMSSampler.useSecurity.properties=false

-To enable/disable delete confirmation dialogue
confirm.delete.skip=false

-To set the size of document Cache(Web service Sampler (SOAP))
soap.document_cache=50

-To set the size of compiled scripts cache(JSR223 elements)
jsr223.compiled_scripts_cache_size=100

I will try to include more incrementally

No comments:

Post a Comment