win10+jdk+jmeter installation configuration

JDK:

1. Download jdk

Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2. Install JDK

For normal installation, the default is all the way. Remember the installation path and use it when configuring environment variables.

Default installation path: C:\Program Files\Java\jdk1.8.0_171

After installation, there will be two folders, one is jdk and the other is jre (run)

3. Configure JDK environment variables

Variable name: JAVA_HOME

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

Variable name: Path (if it already exists, add the following value directly to the existing variable)

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

Variable name: CLASSPATH

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

After the configuration is complete, enter javac and java in the CMD, and no error is reported, indicating that the configuration has been completed.


JMETER:


4. Download Jmeter

http://mirrors.tuna.tsinghua.edu.cn/apache//jmeter/binaries/apache-jmeter-4.0.zip

After downloading, unzip it to the location you want to install: C:\Program Files\apache-jmeter-4.0_src

5. Configure Jmeter environment variables

Variable name: JMETER_HOME

Variable value: C:\Program Files\apache-jmeter-4.0

Variable name: Path  (add the following value directly to the existing variable)

Variable value: %JMETER_HOME%\bin

Variable name: CLASSPATH

变量值:%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib/logkit-2.0.jar;

6、启动jmeter

找到C:\Program Files\apache-jmeter-4.0\bin\jmeter.bat 双击打开。

会出现CMD窗口和jmeter窗口(CMD窗口不能关闭)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325748483&siteId=291194637