"JMeter" JMeter environment construction

Source: Internet
Author: User

I. Description of the tool
Apache JMeter is a 100% Java desktop application designed to load the features of the tested software and measure the performance of the software being tested. The design JMeter was originally designed to test Web applications and later expanded other functions. JMeter can perform performance tests on static and dynamic resources (Servlets,perl scripts, Java objects, data queries s, FTP services, etc.). JMeter can simulate a large amount of server load, Network load, software object load, and fully test the performance of the software through different loading types. and JMeter provides graphical performance analysis.

Second, the use of the environment
JMeter can run on Solaris, Linux,windows (98, NT, 2000,2003). jdk1.4 above. This article focuses on building steps for the environment of Web server and DB server that use JMeter to test the Windows environment, and getting started with stress testing using JMeter.

Third, software download
JDK http://java.sun.com/javase/downloads/index.jsp

JMeter http://jmeter.apache.org/download_jmeter.cgi (Note: The compressed package under binary should be downloaded, not the compressed package under source)


Iv. Installation of JDK
Download Jdk1.6.0_10.exe, which is installed by default and is typically installed in the C:\ProgramFiles\Java directory.
On the desktop select "My Computer" (right-click), Advanced, environment variable, in "System variables"---> "new", enter in variable name: CLASSPATH, variable Value input: C:\ProgramFiles\Java\jdk1.6.0_10\lib\dt. JAR; C:\ProgramFiles\Java\jdk1.6.0_10\lib\TOOLS. JAR; C:\Program Files\java\jdk1.6.0_10\bin; then press "new", enter in the variable name: Java_home, enter in the variable: C:\Program files\java\jdk1.6.0_10, modify the PATH variable, Add%java_home%/bin; then make sure;

Installation success Detection: Open cmd, enter command: Java or javac appears then JDK installation configuration succeeded


Five, JMeter installation
Unzip the Jakarta-jmeter-2.3.4.zip file to the C drive and unzip it to the C:\jakarta-jmeter-2.3.4 directory.
On the desktop select "My Computer" (right-click), Advanced, environment variable, in "System variables"---> "new", enter in variable name: jmeter_home, variable value input: \ c jakarta-jmeter-2.3.4, and then modify the CLASSPATH variable, add%jmeter_home%\lib\ext\apachejmeter_core.jar;%jmeter_home%\lib\ to the variable value Jorphan.jar;%jmeter_home%\lib\logkit-1.2.jar; Then make sure you can.
Then click Jmeter.bat in the Bin folder in the JMeter directory to open the JMeter.

"JMeter" JMeter environment construction

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.