Install JMeter under Windowspost by rocdk890/2012-8-19 16:08 Sunday Windows technologyPost a comment
JMeter is a product of the Apache Software Foundation that is used to test the performance of static and dynamic resources (files, Servlet,perl scripts, Java objects, databases and queries, FTP servers, and so on). is a very convenient test software.
System: Windows XP
Required Packages: Jdk-6u34-windows-i586.exe Apache-jmeter-2.7.zip
1. Download JDK and JMeter
You can go to the JDK website to download:
Http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
Don't be a Linux version of it.
The JMeter download address is:
http://jmeter.apache.org/download_jmeter.cgi
2. Installing the JDK
You can see that my installation path is C:\Program files\java\jdk1.6.0_34, there's nothing left to say about it all the way to next.
Then set the environment variables for the JDK, right-my Computer-Properties-advanced-environment variables.
Set in the user variable:
New variable name "Java_home", the variable value is: Install JDK directory, mine is C:\Program files\java\jdk1.6.0_34.
Then new variable name "CLASSPATH", the value of the variable is: C:\Program Files\java\jdk1.6.0_34\lib\dt.jar; C:\Program Files\java\jdk1.6.0_34\lib\tools.jar; C:\Program Files\java\jdk1.6.0_34\bin
Finally, the variable value of the system variable "Path" is added%java_home%/bin
3. Installing JMeter
Unzip Apache-jmeter-2.7.zip to C drive and directory under c:\apache-jmeter-2.7, of course, look at your personal habits.
Set the JMETER environment variable:
In the user variable, create a new variable named "Jmeter_home" with a variable value of C:\apache-jmeter-2.7.
Modify "CLASSPATH", add at the back;%jmeter_home%/lib/ext/apachejmeter_core.jar;%jmeter_home%/lib/jorphan.jar;%jmeter_home%/ Lib/logkit-2.0.jar
4. Enter java-version at the system cmd command prompt, if available to Java version information, indicating that the JDK installation was successful.
5. Run the JMeter and open the C:\apache-jmeter-2.7\bin\jmeter.bat directly.
Install JMeter under Windows