Jmeter passing properties on command line

Today I wanted to run some Jmeter tests from the command line (non-GUI) with and without the Summariser outputing messages. Rather than constantly changing the jmeter.properties file, it is easier to pass the properties value by using the -J option on the command line. So to run with the summariser
use:

jmeter.bat -n -t YOURtest.jmx -Jsummariser.name=summary

or without the summariser

jmeter.bat -n -t YOURtest.jmx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s