Launch JMeter in GUI Mode
Launch JMeter in GUI Mode
JMeter GUI mode is best for creating and debugging test plans. Ensure Java (JDK or JRE 8 or higher) is installed and configured. Don’t use GUI mode for load testing. This mode is only for Test creation and Test debugging. For load testing, use Non GUI ( CLI Mode ).
On Windows
- Open Command Prompt, change directory to JMETER_HOME/bin and run the following command:
/> cd apache-jmeter-5.6.3\bin
/> jmeter.bat
- Alternatively, navigate to the JMeter
bin/
directory. Locate the filejmeter.bat
and double-click it.
On Linux
- Open the Terminal.
- Navigate to the JMeter
bin/
directory:
cd /path/to/apache-jmeter/bin
- Run the following command:
$ ./jmeter
JMeter GUI Mode Window
After executing the above commands, the JMeter GUI will open, allowing you to create and run test plans.
Launching JMeter in GUI mode is perfect for adding, editing new configuration elements, thread groups and samplers as a result of which we can view a number of different listeners helping for debugging. On the other hand, it consumes more resources. GUI mode does have a limitation which slows down the CPU recourse utilization while running the script. If we are running multiple listeners in a script, it affects the performance of JMeter. To overcome this situation and to save resources, you should run JMeter in the non-GUI mode.
For large-scale testing, use Non-GUI mode for better performance.