Download and install Apache JMeter 5.5 and set up Chinese tutorial
JMeter
Download Apache JMeter 5.5
Official website: Apache JMeter official website
-
Version introduction:
One version is Binaries and the other is Source. Generally, open source software will release two versions:
Binaries: Binary files that have been compiled and can be executed directly. After downloading and decompressing, they can be used.
Source: source code file, you need to compile it yourself before you can execute it. -
Applicable system introduction:
tgz and zip are two compression formats. The content contained in the two compression files is the same, but the compression format is different.
tgz: For Linux (or Unix) systems, the tar.gz file is smaller than zip.
zip: for Windows systems.
After the download is complete, put it in the non-Chinese path to decompress.
Configure environment variables
View configuration JDK
First, make sure that the computer is installed with JDK8 and above, and the environment variables are configured.
View method: search for "command prompt" in the search and open it as an administrator. Open
the command prompt and enter
java -version
After the following prompt, go to the next step.
Configure JMeter environment variables
My computer - right click and select properties,
pull down to find advanced system settings,
click on environment variables
Click New
to add the JMETER_HOME variable (Note: The variable value is the path you decompressed after downloading.)
Variable name: JMETER_HOME
Variable value: F:\ApacheJMeter5.5\apache-jmeter-5.5
Select the CLASSPATH variable and click Edit
(if the computer does not find CLASSPATH, you can also add it to PATH)
Click New
%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar
After adding one, click New
%JMETER_HOME%\lib\jorphan.jar
Click OK after configuration
run JMeter
Try to run it to see if the environment variable takes effect Right-click
/bin/jmeter.bat in the decompressed file directory to
run as an administrator.
After opening, JMeter will display a graphical interface and a command window. Be careful not to close the command window
Configure the Chinese version
Disposable
- Open the Jmeter graphical interface
- Find options ->choose language ->chinese, choose Simplified and Traditional Chinese according to your needs
After clicking, it is as follows:
You can see that it has changed to Chinese, but it will change back when you open it next time
Permanently set the body
Find jmeter.properties in the bin directory of the installation directory, right click and open with a text editor, here I use notepad++ line
39 to change the position
as follows
language=zh_CN
After that, we will open it again and
it will be the Chinese version. Okay, let’s use it quickly!