Jmeter stress testing tool installation tutorial

A, Jmeter download

Enter the official website: http: //jmeter.apache.org/

Step 1. Enter the official website below

2. Select for download, a download is compressed, it can extract.

3. I downloaded version is jmeter4.0 corresponding jdk1.8. And then decompress it.

Personally I think that should pay attention to three points:

1) After extracting archive called apache-jmeter-4.0.zip, the case src.zip suffix is ​​not right, then open the error will not be available, because it lacks an environment variable .jar file our next step will be configured.

2) corresponding jdk version is not too low, generally jmeter3.0 corresponding jdk1.7, jmeter4.0 correspondence jdk1.8 above, whether the person will enable jmeter error.

3) make sure the environment variables configured correctly (including with jmeter jdk environment variable configuration).

Well, then environmental variables to configure it

Two, Jmeter environment variable configuration

 

1.) desktop ---- "" Computer "icon ----" right mouse button and select "Properties" ---- "---- click Advanced System Settings" Advanced --- "Environment Variables page

2) start configuring the environment variables. In the System variables box, click on the "New" to create a variable: JMETER_HOME, is jmeter you unpack the installation path. My installation path is in the E drive, fill in the path according to their actual installation path. Then click OK to save

3) configuration classpath variable, if not also follow the above steps to create a new, any directly selected, you can click Edit. Variable value is fixed at:% JMETER_HOME% \ lib \ ext \ ApacheJMeter_core.jar;% JMETER_HOME% \ lib \ jorphan.jar;% JMETER_HOME% \ lib / logkit-2.0.jar; After doing must be saved, not sure if you can click on the OK button until retreated to my computer page

4) The basic configuration is complete, and then verify that it is configured correctly, is available.

首先进到你的jmeter安装路径,找到bin文件夹,点击进去,找到jmeter.bat,鼠标右键用管理员方式运行,或者直接双击打开,此时会弹出2个界面:1.个是命令窗口,使用jmeter的时候此命令窗口不能关,你缩小到电脑任务栏即可。2.还有一个界面是jmeter工作页面,你可以在里面进行相关的操作.具体如图

5)确认安装是否成功,双击jmeter.bat或者以管理员方式运行,页面如下:

6)jmeter的工作区域如下:,我们每次使用jmeter的首先打开方式就是进入bin文件下双击这个jmeter.bat,如果觉得麻烦,可以鼠标右键快捷方式发送电脑桌面,就会方便很多。

 

Guess you like

Origin www.cnblogs.com/ojbk6943/p/12273811.html