How to install JMeter

Source: Internet
Author: User

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
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5C/0B/wKioL1UaFM6SgqaGAAGnk3ouLsw624.jpg "title=" 72094489500.jpg "alt=" wkiol1uafm6sgqagaagnk3oulsw624.jpg "/> can see my installation path is C:\Program files\java\jdk1.6.0_34, There's nothing left to say, just keep 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", Variable Value: Install JDK directory, mine is C:\Program Fil
es\java\jdk1.6.0_34.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5C/10/wKiom1UaE-vAtTo4AAG0JDKQrTI040.jpg "title=" 81741291051.jpg "alt=" Wkiom1uae-vatto4aag0jdkqrti040.jpg "/>

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
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5C/10/wKiom1UaFFax-2sjAAGv9wzYMAU606.jpg "title=" 29677195933.jpg "alt=" Wkiom1uaffax-2sjaagv9wzymau606.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5C/11/wKiom1UaFRfz7Xi3AAHZf0rzkrg684.jpg "title=" 06483993008.jpg "alt=" Wkiom1uafrfz7xi3aahzf0rzkrg684.jpg "/>

Finally the variable value in the system variable "Path" plus%java_home%/bin
650) this.width=650, "src=" Http://s3.51cto.com/wyfs02/M01/5C/0B/wKioL1UaFoTAtJPvAAGmkGYiexs535.jpg "title=" 35406005188.jpg "alt=" Wkiol1uafotatjpvaagmkgyiexs535.jpg "/> 3. Install JMeter
Extract Apache-jmeter-2.7.zip to C drive and directory \ apache-jmeter-2.7, of course, depends on your personal habits.
650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/5C/11/wKiom1UaFXWBBnHFAADXj2v-73w142.jpg " Title= "61936070582.jpg" alt= "wkiom1uafxwbbnhfaadxj2v-73w142.jpg"/>

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.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5C/11/wKiom1UaFZihozSvAAGjTj8MuiQ898.jpg "title=" 06991273199.jpg "alt=" wkiom1uafzihozsvaagjtj8muiq898.jpg "/> Modify" CLASSPATH ", add later;%jmeter_home%/lib/ext/ Apachejmeter_core.jar;%jmeter_home%/lib/jorphan.jar;%jmeter_home%/lib/logkit-2.0.jar

Linux Plus:

Export path= $JMETER _home/lib/ext/apachejmeter_core.jar: $JMETER _home/lib/jorphan.jar: $JMETER _home/lib/ Logkit-2.0.jar: $JMETER _home/bin: $PATH
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/5C/0B/wKioL1UaFv2hPCJ1AAGuriUfgFY996.jpg "title=" 71534406641.jpg "alt=" Wkiol1uafv2hpcj1aaguriufgfy996.jpg "/>

4. Enter java-version at the system cmd command prompt, if available to Java version information, indicating that the JDK installation was successful.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5C/0B/wKioL1UaFw2Shy3xAADzmimkn48113.jpg "title=" 31257705720.jpg "alt=" Wkiol1uafw2shy3xaadzmimkn48113.jpg "/>

5. Run the JMeter and open the C:\apache-jmeter-2.7\bin\jmeter.bat directly.


This article from "O0 Firefly" blog, declined reprint!

How to install JMeter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.