Installation Guide jmeter learning (a)

A, Jmeter Profile

Jmeter is Apache organization to develop Java-based open source project, is designed for beginning to do performance testing, and implementation calls it in terms of the various interfaces to do more mature, therefore, is often used as an interface functional testing and performance testing .

Jmeter well supported by a variety of common interfaces such as HTTP (S), WebService, JDBC, JAVA, FTP, etc., and in various forms to show the test results.

Of course, these are not Jmeter full functionality, there are many places to explore in depth, but there are a lot of plug-emerging, I believe the future will become more and more powerful.

Two, Jmeter installation

1 Notes

Since Jmeter is a Java-based development, we need to rely on Java environment, before installing Jmeter need to install the JDK.

Note that the above jmeter3.0 versions require jdk7 to support more than the other nothing special.

Win10 system as an example to describe how to install

2, install jdk

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

jdk installed in the disk position d: D: \ Program Files \ Java \ jdk1.8.0_221 (time required to configure the environment variables)

jre installed in c drive location: C: \ Program Files \ Java \ jre1.8.0_221

 

3, configure the environment variables jdk

Location: "My Computer"> Right menu> "Properties"> "Advanced System Settings"> "Environment Variables";

Note: create and edit variables in the system variable

New System Variable name: JAVA_HOME
variable value: D: \ Program Files \ Java \ jdk1.8.0_221 ( ie jdk installation location)

 

Variable name: Path (the variable name already exists in the system variables, after adding to the top of)
the variable value:% JAVA_HOME% \ bin

 

新建系统变量名:CLASSPATH
变量值:.;%JAVA_HOME%lib;%JAVA_HOME%lib\tools.jar(记住前面的.)

 

4、解压jmeter免安装包,并配置jemter环境变量

新建变量名:JMETER_HOME

变量值:D:\apache-jmeter-5.1.1

 

编辑变量名:CLASSPATH

变量值:%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;

%JMETER_HOME%\lib/logkit-2.0.jar;(中间用英文 ; 隔开)

 

在用系统变量path后面加上%JMETER_HOME%\bin

 

 

5、测试安装和环境变量是否成功

回车弹出命令行窗口,分别输入java -version(验证是否安装jdk)、jmeter(验证jmeter是否安装成功)

出现下图表明都安装成功了

 

6、如何打开jmeter

进入D:\apache-jmeter-5.1.1\bin

点击 ApacheJMeter.jar 打开,界面默认为简体中文

或者点击 jmeter.bat 打开

Guess you like

Origin www.cnblogs.com/qinlangsky/p/11941230.html