JMeter tests loads and measures performance of static and dynamic resources

Test Fast and Break Stuff


JMeter provides a lot of the expected statistics, as well as analysis that makes it easy to compare the results of different runs. To eliminate the GUI from distorting the statistics, the test should be run from the command line:

jmeter -n -t blazedemo-cmd.jmx -j blazedemo-cmd.log -l blazedemo-cmd.jtl -e -o /tmp/jmeter-report -JThreads=1 -Jlifetime=19

The tables in (Figure 9) display all of the interesting statistics of the test in tabular format. This information is also represented in quite a few graphs including histograms (Figure 10) and response times (Figure 11), as well as many others not displayed here.

Figure 9: Some basic JMeter statistics.
Figure 10: Response times reported in a histogram.
Figure 11: JMeter lets you view your data graphically a number of ways.


This article by no means covers all of the functionality provided by JMeter. If for any reason its functionality doesn't cover your every need, you can add your own Java code or JAR files to fill in the gaps. If one server cannot generate enough load in your test, you can set up JMeter in a primary-secondary setup which allows many different secondary servers to run your test scripts.

Examining the test script [4] should allow you to see and interact with each of these steps to see how it works. JMeter can be used in your company, no matter how small or how big.

The Author

Christopher Dock is a senior consultant at T-Systems On Site Services. When he is not working on integration projects, he likes to experiment with smaller embedded solutions such as the Raspberry Pi or Arduino. To this end, he has authored a book to help people to get started in the area of DIY electronics: Getting Started with Arduino and Raspberry Pi , ISBN 978-1952930027.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs

Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>


		<div class=