The test tool jmeter uses

I. Overview

Official website: Apache JMeter - Download Apache JMeter

2. Installation

1. Download

Download zip for the Windows version, download tgz for the Linux version, and generally download Binaries (Source contains source code).

2. Installation

After downloading, there is no need to install it, and it can be used after decompression.

3. Configure environment variables:

The jmeter environment variable configuration is as follows:

1) Add the JMETER_HOME variable, note: the variable value is the path you decompress after downloading.

2) Edit the CLASSPATH variable, add %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar;

Note: If the computer does not find the CLASSPATH, it can also be added to the PATH;

5. After completing the above steps, we can click the jmeter.bat file under the bin directory in Jmeter to open Jmeter.

Note: There will be two windows when it is opened, the command window of Jmeter and the graphical operation interface of Jmeter, and the command window cannot be closed.

Note: If you open it and prompt "findstr is not an internal or external command", this is a problem with the PATH environment variable, and it will be over if you add the directory of the windows command to the PATH. That is: add to path: %SystemRoot%/system32;%SystemRoot%;

6. Enter the JMeter interface.

7. Remarks: It can also be opened through ApacheJMeter.jar.

Guess you like

Origin blog.csdn.net/kanhcj86/article/details/130755214