Key takeaways

  • No. The GUI is for building and debugging plans, not for generating load.
  • The GUI consumes the memory and CPU you wanted for virtual users.
  • Run non-GUI with results written to file, then open the file to analyse.

Often software developers get to ask themselves the question: Should I just run the tests in the GUI now that I finished developing them?

The answer is pretty simple, NO. You should not use the GUI when running the tests. The GUI should be used only for developing the tests.

Is Your Infrastructure Ready for Global Traffic Spikes?

Unexpected load surges can disrupt your services. With LoadFocus’s cutting-edge Load Testing solutions, simulate real-world traffic from multiple global locations in a single test. Our advanced engine dynamically upscales and downscales virtual users in real time, delivering comprehensive reports that empower you to identify and resolve performance bottlenecks before they affect your users.

View Pricing
Real-time insights
Discover More
Global scalability

For running the tests you should run JMeter from command line. Use the GUI only for Test creation and Test debugging.

For load testing, use CLI Mode (was NON GUI):

jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]

Think your website can handle a traffic spike?

Fair enough, but why leave it to chance? Uncover your website’s true limits with LoadFocus’s cloud-based Load Testing for Web Apps, Websites, and APIs. Avoid the risk of costly downtimes and missed opportunities—find out before your users do!

Effortless setup No coding required

Why use JMeter in CLI Mode/ Non GUI line mode for running the tests ?

The reasons are the following:

  • increase the throughput that JMeter is capable of on your hardware configuration
  • increase the number of threads compared with running in GUI mode
  • decrease the memory and CPU that JMeter uses during heavy test scenarios

Written by Cristian Vazzolla.

LoadFocus is cloud Performance, load and stress testing tool which provides the infrastructure and the ability to run all these tests in less than a few minutes, keep history of the results, compare different runs to inspect performance improvements or performance degradation.

LoadFocus is an all-in-one Cloud Testing Platform for Websites and APIs for Load Testing, Apache JMeter Load Testing, Page Speed Monitoring and API Monitoring!

Effortless setup No coding required

Frequently Asked Questions

Should I run load tests from the JMeter GUI?

No. The interface is for building and debugging plans. Running a real test through it is the most common reason a load test produces numbers that do not reflect the server.

What does the GUI cost?

The memory and CPU you wanted for virtual users. Rendering results in real time is expensive, and it competes directly with generating load.

What should I do instead?

Run non-GUI with results written to a file, then open that file to analyse. You get the full detail without paying for it during the run.

Related reading

Chris
Head of Content at LoadFocus

Chris leads content and oversees development across the services this blog covers. The guides and tool comparisons here come out of the same decisions that shape what ships.

How fast is your website? Free Website Speed Test