Jmeter - installation configuration

1. Install JDK

  1. [Step 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

  2. 2

    [Step 2] Configure jdk environment variables

    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]

    Graphical description Jmeter installation
    Graphical description Jmeter installation
    Graphical description Jmeter installation
    Graphical description Jmeter installation
     
     
  3. 3

    [Step 3] Verify jdk

    Running cmd->input java -version->displaying the java version means that the jdk installation is successful, as shown below

    Graphical description Jmeter installation
    END

2. Install Jmeter

 
  1.  
  1. [Step 1] Install Jmeter

    1. Download Jmeter, the official website address: http://jmeter.apache.org/download_jmeter.cgi

    2. Unzip the Jmeter installation package

  2.  

    [Step 2] Configure Jmeter environment variables

    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

    Graphical description Jmeter installation

  3. [Step 3] Start Jmeter

    Double-click jmeter.bat under the bin of the Jmeter decompression path (apache-jmeter-3.0\bin), as shown below

    Graphical description Jmeter installation
    Graphical description Jmeter installation

Guess you like

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