Jmeter environment to build and catalog description

Jmeter environment to build and catalog description

Operating environment: jmeter is based on java language, all need to prepare for the Java JDK environment, and added to the environment variable.

First, set up and configure the environment

1.JMeter download:

Official website: http: //jmeter.apache.org/download_jmeter.cgi

Binaries and Source distinguish two types of package to download when Jmeter

Now more and more people become loadrunner performance test by the use jmeter, because jmeter is open source, no royalties dispute. General open-source software will be released in two versions: Source Distribution and Binary Distribution.

Source: source code version, it needs its own compiled into an executable software.

Binaries: is an executable version downloaded directly extract can be brought to use, I have given you compiled version

Tgz and zip difference between two types of package to download when Jmeter

In fact, the method is compressed, it can be simply understood as

tgz: linux operating system used more

zip: windows operating system used more

So: Here, we downloaded the zip file Binaries version: apache-jmeter-4.0.zip

2.JDK download: http: //www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2.1, JDK installation

Normal installation, you can all the way next, the default installation path: C: \ Program Files \ Java \ jdk1.8.0_xxx

After installing there is a two folder is a jdk jre (run)

2.2, JDK configuration environment variable

Variable name: JAVA_HOME

Variable value: C: \ Program Files \ Java \ jdk1.8.0_171

Variable name: Path (If you already have increased the value directly in the existing variable)

Variable value:% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin

Variable name: CLASSPATH

Variable values:;.% JAVA_HOME% lib;% JAVA_HOME% lib \ tools.jar

With a good inside the CMD input javac and java, no explanation has been given a good job.

JDK download link:

[Windows X64 environment] JDK1.8:

https://pan.baidu.com/s/1Rv9Yfrul5FYw4rBt9RK4fA extraction code: ja61

[Linux X64 environment] JDK1.8:

Link: https: //pan.baidu.com/s/1nfcb5Poz-PyzKksZtsbsGA 
extraction code: tc1o 

JMeter download link:

Link: https: //pan.baidu.com/s/1A86_9RHG7GMWZop6fgd-Qw 
extraction code: pf4o 
3. Set Chinese: Jmeter support Chinese display, so we can set up Chinese, jmeter.properties open the file in the bin directory, find language = zh_CN (37 lines), as shown below:

 

4. Run the JMeter, after a successful download codecs, as shown below:

 

Directory Description:

bin: contains startup configuration

docs: containing the official local documents directory, placed jmeter API offline help files, WEB way

extras: auxiliary library

lib: core library contains a variety of basic libraries and plug-ins used JMeter

licenses: license contains non-ASF software

printable_docs: Printable documentation directory

LICENSE: JMeter licensing instructions

NOTICE: JMeter simple explanation information

README.md:JMeter official basic introduction


Windows environment, jmeter.bat double-click the file in the bin directory to run

Linux or Mac user to enter the bin directory, click jmeter.sh to run

 

Guess you like

Origin www.cnblogs.com/jingdenghuakai/p/11125823.html