< 1 minute read

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.

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]

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.

How fast is your website? Free Website Speed Test