1. Install JDK
-
1. Download jdk, go to the official website to download jdk, address: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Install jdk, after the download is complete, double-click to install
-
Right-click Computer Properties->Advanced System Settings->System Properties->Advanced->Environment Variables->Add the following system variables:
Variable name: [JAVA_HOME]
Variable value: [D:\Program Files\Java\jdk1.8.0_92] [jdk installation path]
Variable name: [path]
Variable value: [;%JAVA_HOME%\bin;]
Variable name: [CLASSPATH]
Variable value: [.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;][.can not be missed]
-
Running cmd->input java -version->displaying the java version means that the jdk installation is successful, as shown below
END
2. Install Jmeter
-
[Step 1] Install Jmeter
1. Download Jmeter, the official website address: http://jmeter.apache.org/download_jmeter.cgi
2. Unzip the Jmeter installation package
-
Configure the Jmeter system environment variables with the following variable names and variable values:
[Variable name] JMETER_HOME
[Variable value] F:\CYL\test\jmeter\apache-jmeter-3.0 (fill in according to the actual jmeter decompression path)
[Variable name] CLASSPATH
【变量值】%JMETER_HOME\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar
-
[Step 3] Start Jmeter
Double-click jmeter.bat under the bin of the Jmeter decompression path (apache-jmeter-3.0\bin), as shown below