How to Start Apache JMeter
How to Start Apache JMeter
JMeter is a Java application. Ensure Java (JDK or JRE 8 or higher) is installed and set up correctly on the machine. Apache JMeter can be started in two modes:
- GUI Mode for test creation and debugging,
- Non-GUI Mode for efficient execution of load tests.
Verify JMeter Installation
To check if JMeter is installed correctly, run:
/> jmeter -v
This will display the JMeter version and confirm its installation.
Start JMeter in GUI Mode
JMeter in Non-GUI Mode (Recommended for Load Testing)
Stop JMeter
To stop JMeter running in GUI Mode, simply close the JMeter window.
To stop JMeter in Non-GUI Mode, use the following key combination:
Ctrl + C
That’s it.