Jmeter- environment to build

 

1, jdk inspection and installation ( Jmeter installed on the premise that has been configured Java environment )

    Start -> Run -> and type cmd-> into the command line interface, enter java -version, the following message appears on this computer is already installed JDK

 

If you do not install the JDK, you can refer to this link tutorial installed JDK, and configure the environment variables:    https://www.cnblogs.com/Aphrodite/p/11076744.html

 

2, Jmeter installation

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

In fact Jmeter 2.1 does not require installation directly download a compressed package, unzip built into your own folder path.
2.2  It is important to configure the environment variables , here to talk about specific configuration environment variable:

1) Select on the desktop computer (right) → System Properties → Advanced System Settings → Advanced → Environment Variables in the "System Variables" ---> "New"

   In the variable name, enter: JMETER_HOME, enter the variable value: D: \ apache-jmeter-2.11 (Jmeter here depends on your own path), my path is as follows:

 


2) modify CLASSPATH variable, the variable value is added

%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;% JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-1.2.jar;

Then be determined.

3) Then click Jmeter directory under the bin folder of jmeter.bat can open Jmeter.

 

Guess you like

Origin www.cnblogs.com/Aphrodite/p/11076820.html