JMeter installation, configuration and localization process at a glance

1. The installation of JMeter needs to be used in the Java environment, so you must install JDK before downloading JMeter.

Install JDk and select the installation directory. During the installation process, there will be two installation prompts. The first time is to install jdk, and the second time is to install jre. It is recommended that both be installed in different folders within the same java folder. (They cannot all be installed in the root directory of the java folder. An error will occur if jdk and jre are installed in the same folder)
insert image description here
1. Download JDk from the official website and store it on the D drive (any drive is fine).
2. Install jdk to choose the directory at will, just change the default installation directory\java directory to the directory you want to store.
3. Install jre → Change → \java The previous directory is the same as the installation jdk directory.
4. Open cmd and enter java -version. If you can check the version of java, the installation is successful.
insert image description here
Note: If there is no installation directory requirement, it can be set by default without any modification, and click Next directly twice.

5. After installing jdk, you need to configure the environment, Computer→Properties→Advanced System Settings→Advanced→Environment Variables.
insert image description here
6. System variables → Create a new JAVA_HOME variable.
7. Fill in the jdk installation directory for the variable value (I am D:\Java\jdk-1.8.0)
insert image description here
8. System variables → find the Path variable → edit.
9. After the variable value, enter %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
insert image description here
10. System variables → New CLASSPATH variable
11. Fill in the variable value.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools. jar (note that there is a point at the front)
12. The environment configuration of jdk is completed in the previous step.

2. Install and configure jmeter

Download address of jmeter official website: https://jmeter.apache.org/download_jmeter.cgi
insert image description here
1. System variables → create a new JMETER_HOME variable.
2. Enter the installation path of jmeter after decompression in the variable value, pay attention not to have a ; number at the end (I am: D:\JMeter\apache-jmeter-5.3) 3. System variables → edit the CLASSPATH variable
insert image description here
. (If there is no CLASSPATH to create a new one)
4. Enter the variable value:
%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar;
insert image description here
5. Double-click jmeter.bat in the bin path to run jmeter.
insert image description here

Three, JMeter Chinese and change the interface background

1. Sinicization
Start Jmeter and find options "choose language" Chinese (simplified and traditional Chinese).
However, after restarting after setting, it will change to the default English.
insert image description here
2. Permanent default Sinicization
Find the jmeter.properties file in the bin directory under the Jmeter installation directory, and open it with a text editor.
insert image description here
Add language=zh_CN to achieve permanent Sinicization.

Guess you like

Origin blog.csdn.net/TuT0925/article/details/106901787