Jmeter getting status during a command line test

    I wrote this post for Jmeter 2.8 this feature has been enabled by default for Jmeter 2.11 yippeee

If you want to get a status of how your Jmeter test is doing while it is running you can add the following Jsummariser. command line arguements when initiating a test.

jmeter.bat -n -t TestPlan.jmx -l results.csv -Jsummariser.interval=120 -Jsummariser.out=true

These attributes tell Jmeter that we want a summary during the test, output every 120 seconds to the screen.

This writes a summary output similar to the one below.

jmeter summary

Every time interval Jmeter writes out the stats for the sample period on the + line and the cumulative for the test to date on the = line.

Obviously these are very high level statistics but they can provide confidence that the test is working particularly looking at the error count and an unexpected changes in throughput or response times.


Leave a Reply

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

You are commenting using your 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