First, check if there is a JDK installed on the machine
Check the method, enter java-version in CMD, the following message appears, that is, the JDK is installed.
If the JDK is not installed, see the following steps
Step One:
1, download the JDK, download the JDK to the official website, address: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2, install the JDK, after the download is complete, double-click Install
Step Two: Configure the JDK environment variables
Add the following system variables, environment variables, advanced system settings, System Properties, right-click Computer properties
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; "
Step three: Enter Java-version in cmd to check if JDK information is displayed to determine if the installation was successful
Second, installation JMeter
Step One: Install JMeter
1, download JMeter, official address: http://jmeter.apache.org/download_jmeter.cgi
2, decompression JMeter installation package
Step Two: Configure JMeter environment variables
Configure the JMeter system environment variable by the following variable name and variable value:
"Variable name" Jmeter_home
"Variable Value" e:\ non-production \apache-jmeter-3.1 (JMeter decompression path)
"Variable name" CLASSPATH
"Variable Value"%jmeter_home\lib\ext\apachejmeter_core.jar;%jmeter_home%\lib\jorphan.jar;%jmeter_home%\lib\logkit-2.0.jar ;
Step three: Start JMeter
Double-click the jmeter.bat below the bin of the JMeter decompression path (Apache-jmeter-3.1\bin), as shown below