http://jmeter.apache.org/download_jmeter.cgi
一、Jmeter下载及安装部署
下载解压JMeter压缩包
下载地址: http://jmeter.apache.org/download_jmeter.cgi
JMeter解压之后,…\apache-jmeter-4.0\bin\jmeter.bat,打开直接使用,无需安装。
下载安装JDK
下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html
环境变量设置
jdk设置:
系统变量新建JAVA_HOME,值为:jdk安装目录,如:C:\Program Files\Java\jdk1.8.0_152
系统变量新建CLASSPATH,值为: %JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
修改系统变量“Path”的值,开始处加上:%JAVA_HOME%/bin
Jmeter设置
系统变量新建JMETER_HOME, 值为Jmeter路径,如:D:\apache-jmeter-4.0
修改CLASSPATH,添加:%JMETER_HOME%/lib/ext/ApacheJMeter_core.jar;%JMETER_HOME%/lib/jorphan.jar;%JMETER_HOME%/lib/logkit-2.0.jar
D:\wzb工具\Jmeter\apache-jmeter-5.0\apache-jmeter-5.0\bin
Jmeter.bat运行
win10环境下运行OK