Install JMeter pressure test tool in Windows system

Source: Internet
Author: User
Tags http request

The Apache JMeter is a Java based stress testing tool developed by the Apache organization. Used for stress testing of software, which was originally designed for Web application testing but later extended to other test areas. It can be used to test static and dynamic resources such as static files, Java applets, CGI scripts, Java objects, databases, FTP servers, and so on. JMeter can be used to simulate a huge load on servers, networks, or objects, test their strength and analyze overall performance from different pressure categories.

  The role of JMeter

1. The ability to perform pressure and performance tests on HTTP and FTP servers, as well as the same testing of any database (via JDBC).

2. Full portability and 100% pure java.

3. Full Swing and lightweight component support (precompiled jar using javax.swing.*) package.

4. A full multithreaded framework allows concurrent sampling through multiple threads and simultaneous sampling of different functions through a separate thread group.

5. Careful GUI design allows for quick operation and more precise timing.

6. Caching and off-line analysis/playback test results.

  First, JMeter Installation summary

1. When configuring Java environment variables, you need to be aware that the path you set will need to be the same as the JDK installation path

2. When configuring Java environment variables, you need to be aware of the JDK version number

3. When configuring environment variables, multiple variables are separated by semicolons, but ensure the semicolon of the English input method

  Second, build test environment summary

1, testing whether the load machine can be invoked to detect the IP of the load machine can be ping pass

2, when the load machine IP can not ping, there may be a firewall interception, you can detect whether the firewall is enabled, if it is temporarily set to disable firewall

3, the test data call file should be placed on the load machine, and in the control center set the correct data access path

JMeter Test Tool Installation steps:

1. Installation JMeter

Download the JMeter kit and put the kit under C disk

http://jmeter.apache.org/download_jmeter.cgi

2. Install JDK

Download the Java JDK and install it, typically installed in the C:Program Filesjava directory

http://java.sun.com/javase/downloads/index.jsp

3. Java environment variable Configuration

Right-click the computer---> Properties---> Advanced system settings---> Environment variable settings on the desktop

In the system variable---> new, enter in the variable name: CLASSPATH, input in the variable value: C:Program FILESJAVAJDK1.6.0_10LIBDT. JAR; C:Program Filesjavajdk1.6.0_10libtools.jar; C:Program Filesjavajdk1.6.0_10bin, then press "new" and enter in the variable name: Java_home, enter in the variable: C:Program filesjavajdk1.6.0_10; Modify the path variable to add%java _home%/bin; then make sure.

4, jmeter environment variable configuration

Right-click the computer---> Properties---> Advanced system settings---> Environment variable settings on the desktop

In the system variable---> new, enter in the variable name: jmeter_home, enter the variable value: c:jakarta-jmeter-2.3.4, and then modify the CLASSPATH variable, add the variable value%jmeter_home% libextapachejmeter_core.jar;% Jmeter_home%libjorphan.jar;%jmeter_home%liblogkit-1.2.jar; Then make sure you can

 Significance

1, Label: The name of the HTTP request defined

2. Samples: How many requests have been made in this test

3, Average: Access to the average response time page

4, min: Access to the page's minimum response time

5, Max: The maximum response time to access the page

6, error%: Number of Wrong requests/total number of requests

7, throughput: The number of requests completed per second

8, Kb/sec: The amount of data received from the server side per second

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

Related Article

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.