Guy Salton is a technical expert on the whole performance testing ecosystem - load testing tools, monitoring tools, CI tools, Networking and Infrastructure. His expertise is helping with POCs and special technical projects for strategic customers. Guy talks at conferences and meetups around the world, writes blog posts and gives webinars.

Become a JMeter and Continuous Testing Pro

Start Learning

Test Your Website Performance NOW!

arrow Please enter a URL with http(s)
Sep 22 2016

How to View JMeter Test Results in Real-time

The standard way to use JMeter is in non-gui mode (CLI). By running in CLI mode, users save resources and ensure their test results are reliable. Using the JMeter GUI is meant only for test recording, development and debugging.


The Problem - JMeter Limits Viewing Test Results in Real-Time


However, running JMeter in CLI mode may limit users who want to understand what is going on in their test in real-time, as CLI mode prevents incorporating Listeners during the test run. Any Listeners you happened to have in your test plan were probably GUI-mode-specific and don’t send anything to non-GUI mode.


Today, when users want to understand what happened in their test, they have to wait for the test to finish running. Then, they take the sample.jtl file that their load test produced, open the JMeter GUI and add their desired listener to the test plan. They can then load the sample.jtl file into the Listener and see the reports/graph.


adding listeners to jmeter gui


The Solution - Viewing Reports in Real-time with BlazeMeter and Taurus


BlazeMeter has a solution for you. By using Taurus, an open-source test automation tool, users can run their existing JMX scripts in CLI mode from the command line (or create new JMeter scripts in a simple YAML format) and view the test reports in real-time, as a means for ensuring everything is going smoothly.


Using Taurus and BlazeMeter for this purpose is available to everyone and doesn’t require signing up.


How to Run JMeter Tests on Taurus


For a detailed explanation, see here.


1. Install Taurus

2. To run your JMX file, use the bzt command and then the JMX path. For example: bzt example.jmx After a few seconds, you will see the Taurus dashboard and its reports with KPIs and statistics.


taurus dashboard test results


See the detailed explanation for learning how to create a JMeter script with YAML and adding JMeter properties to your script.


Running your JMeter script on Taurus also enables you to view and analyze your test results on BlazeMeter. BlazeMeter reports are easy to use, compare different executions, monitor trends over time and enable collaboration. Type -report and your tests will be sent to BlazeMeter.


blazemeter dashboard test results reports


Congratulations! You can now easily run your JMeter scripts in CLI mode without using the JMeter GUI and still view all the analytics you need in a visualized and friendly format. Click here to go to Taurus and learn more.

arrow Please enter a URL with http(s)

Interested in writing for our Blog?Send us a pitch!