[Articles] jmeter5.1 first JMeter installed under windows (including plug-in installation) and linux environment

jmeter Download

Prerequisite: already installed jdk8 +

jmeter Download: http://jmeter.apache.org/download_jmeter.cgi

There Binaries and Source version

The former is compiled, can be directly used version; the latter is the source code version, you need to compile the job

General Direct download version on it Binaries

tgz and zip are two compression format, the compressed file which contains the contents of both are the same, but compressed format is not the same.

tgz: for Linux (or Unix) systems, tar.gz zip files than small.

zip: for Windows systems (can also be used linux, but need to give permission)

zip download is complete package

jmeter installed in Windows (including plug-in installation)

Premise: jdk installed under windows

After extracting into disk D

Windows environment, click [start] jmeter.bat jmeter client

You can see, the interface is in English

 Open file] [jmeter.properties

Search language

Remove the front #, value to zh_CN, save the file

 

Click [start] again jmeter.bat jmeter client, you can see the interface into Chinese

According to the preferences, choose the appearance, I select [System]

jmeter plug-in installation

Open the downloaded plug-address: http: //jmeter-plugins.org/

Download the plug jmeter-plugins-manager.jar, this plug-ext copied to the lib directory under Jmeter

Restart Jmeter, in the open Jmeter, click the menu option --Plugins Manager window opens Jmeter Plugins Manager

Already installed

Installable

Install other plug-ins through the Plugin Manager

After installation, automatic restart, you can see the listener plug-in installed

You can also search, download the required plug-ins (corresponding jar package)

If the script does not have to open the plug-ins installed (such as not dummy installed), you will be prompted

Just click to install, and then jmeter will automatically restart.

At this point, jmeter installation is complete.

jmeter in the windows environment variable configuration

There may be some small partners would say, does not it, how did jmeter configuration environment variable?

In fact, you can not configure the environment variables, we just need to jmeter.bat] [send to desktop shortcut,

If jmeter environment variable configuration, you can start at any directory, not to the bin directory to start

[Computer] - [Properties] - [Advanced System Settings] - [Advanced] - [Environment Variables]

New system variables

JMETER_HOME=D:\apache-jmeter-5.1.1

echo %JMETER_HOME%

PATH=;%JMETER_HOME%\bin

echo %path%

win + r, enter the command line jmeter, click OK, you can open the client jmeter

View version, jmeter -v

If the response is garbled, modify codes

Go to the bin directory

Uncommented, instead utf-8

In addition, if ApacheJMeter_core.jar to use in class, modify the CLASSPATH variable,

CLASSPATH variable value added% JMETER_HOME% \ lib \ ext \ ApacheJMeter_core.jar; to.

jmeter mounted in linux

Premise: under linux already installed jdk8 +

Upload the installation package to linux server, rz

Decompression

Unpacking completes

verification

Configuration environment variable (so that you can enter jemter in any directory)

 

Enter the following

Let configuration to take effect

verification

If the response is garbled, modify codes

Go to the bin directory

Uncommented, instead utf-8

At this point, the installation is complete.

 

Prerequisite: already installed jdk8 +

jmeter Download: http://jmeter.apache.org/download_jmeter.cgi

There Binaries and Source version

The former is compiled, can be directly used version; the latter is the source code version, you need to compile the job

General Direct download version on it Binaries

tgz and zip are two compression format, the compressed file which contains the contents of both are the same, but compressed format is not the same.

tgz: for Linux (or Unix) systems, tar.gz zip files than small.

zip: for Windows systems (can also be used linux, but need to give permission)

zip download is complete package

jmeter installed in Windows (including plug-in installation)

Premise: jdk installed under windows

After extracting into disk D

Windows environment, click [start] jmeter.bat jmeter client

You can see, the interface is in English

 Open file] [jmeter.properties

Search language

Remove the front #, value to zh_CN, save the file

 

Click [start] again jmeter.bat jmeter client, you can see the interface into Chinese

According to the preferences, choose the appearance, I select [System]

jmeter plug-in installation

Open the downloaded plug-address: http: //jmeter-plugins.org/

Download the plug jmeter-plugins-manager.jar, this plug-ext copied to the lib directory under Jmeter

Restart Jmeter, in the open Jmeter, click the menu option --Plugins Manager window opens Jmeter Plugins Manager

Already installed

Installable

Install other plug-ins through the Plugin Manager

After installation, automatic restart, you can see the listener plug-in installed

You can also search, download the required plug-ins (corresponding jar package)

If the script does not have to open the plug-ins installed (such as not dummy installed), you will be prompted

Just click to install, and then jmeter will automatically restart.

At this point, jmeter installation is complete.

jmeter in the windows environment variable configuration

There may be some small partners would say, does not it, how did jmeter configuration environment variable?

In fact, you can not configure the environment variables, we just need to jmeter.bat] [send to desktop shortcut,

If jmeter environment variable configuration, you can start at any directory, not to the bin directory to start

[Computer] - [Properties] - [Advanced System Settings] - [Advanced] - [Environment Variables]

New system variables

JMETER_HOME=D:\apache-jmeter-5.1.1

echo %JMETER_HOME%

PATH=;%JMETER_HOME%\bin

echo %path%

win + r, enter the command line jmeter, click OK, you can open the client jmeter

View version, jmeter -v

If the response is garbled, modify codes

Go to the bin directory

Uncommented, instead utf-8

In addition, if ApacheJMeter_core.jar to use in class, modify the CLASSPATH variable,

CLASSPATH variable value added% JMETER_HOME% \ lib \ ext \ ApacheJMeter_core.jar; to.

jmeter mounted in linux

Premise: under linux already installed jdk8 +

Upload the installation package to linux server, rz

Decompression

Unpacking completes

verification

Configuration environment variable (so that you can enter jemter in any directory)

 

Enter the following

Let configuration to take effect

verification

If the response is garbled, modify codes

Go to the bin directory

Uncommented, instead utf-8

At this point, the installation is complete.

 

Guess you like

Origin www.cnblogs.com/liang114/p/11848409.html