Article Directory
1. First check whether the machine has JDK installed
2. Download JMeter
JMeter download link: https://jmeter.apache.org/download_jmeter.cgi
Please note that the latest version of JMeter 5.2.1 supports jdk 1.8 and above
3. Download and unzip
Note that the decompression path must not contain spaces, Chinese, in order to ensure that everyone runs without errors, or follow the rules.
I decompressed it to Disk D:
4. Configure JMeter environment variables
1. Add JMETER_HOME to system variables
2. Edit the system variable CLASSPATH
Fill in the content as:
;%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar; %JMETER_HOME%\lib\jorphan.jar
3. Edit the system variable PATH
Fill in the content:
%JMETER_HOME%\bin;
After editing environment variables
Enter jmeter in the CMD command to start.
Note: When you close the Cmd command window, JMeter will also be closed
5. JMeter Chinese configuration
Since the newly downloaded JMeter is all in English, for our convenience, we can modify its configuration file and change some languages.
Note: This Chinese configuration should be changed permanently, and it will be Chinese every time you start JMeter.
1. Edit the jmeter.properties configuration file
2. Change the language in line 37
Remove the original comment, change it to Chinese, then close JMeter and restart it to start successfully.