JMeter tool installation, environment configuration, Chinese settings

1. First check whether the machine has JDK installed

Insert picture description here

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

Insert picture description here

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:
Insert picture description here

4. Configure JMeter environment variables

1. Add JMETER_HOME to system variables

Insert picture description here

2. Edit the system variable CLASSPATH

Fill in the content as:

;%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar; %JMETER_HOME%\lib\jorphan.jar

Insert picture description here

3. Edit the system variable PATH

Fill in the content:

%JMETER_HOME%\bin;

Insert picture description here

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
Insert picture description here

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

Insert picture description here

2. Change the language in line 37

Remove the original comment, change it to Chinese, then close JMeter and restart it to start successfully.
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43647359/article/details/105998324