Download and install Apache JMeter 5.5 and set up Chinese tutorial

JMeter

Download Apache JMeter 5.5

Official website: Apache JMeter official website
insert image description here

  • 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.
insert image description here

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
insert image description here
the command prompt and enter

java -version

After the following prompt, go to the next step.
insert image description here

Configure JMeter environment variables

My computer - right click and select properties,
insert image description here
pull down to find advanced system settings,
insert image description here
click on environment variables
insert image description here

Click New
insert image description here
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

insert image description here

Select the CLASSPATH variable and click Edit
(if the computer does not find CLASSPATH, you can also add it to PATH)

insert image description here
Click New

%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar

After adding one, click New

%JMETER_HOME%\lib\jorphan.jar

Click OK after configuration
insert image description here

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.
insert image description here
After opening, JMeter will display a graphical interface and a command window. Be careful not to close the command window
insert image description here

Configure the Chinese version

Disposable

  1. Open the Jmeter graphical interface
  2. Find options ->choose language ->chinese, choose Simplified and Traditional Chinese according to your needs
  3. insert image description here
    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
    insert image description here

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
insert image description here
39 to change the position
insert image description here
as follows

language=zh_CN

insert image description here
After that, we will open it again and
insert image description here
it will be the Chinese version. Okay, let’s use it quickly!

Guess you like

Origin blog.csdn.net/sinat_38316216/article/details/129014428