Jmeter (Performance Testing Tool)

Source: Internet
Author: User

1. Install jmeter. Http://mirror.candidhosting.com/pub/apache/jakarta/jmeter/binaries/jakarta-jmeter-2.2.zip

2. Install Badboy. Http://www.badboy.com.au/versions/BadboyInstaller-2.0_beta_4.exe

3. Record the badge in Badboy and export it to jmeter format.

4. Open jmeter and import the recorded badge in Badboy.

5. Set the number of threads (number of users) and ramp-up period (total time interval of each request, in seconds. For example, if your request number is 5 and this parameter is 10, the interval between each request is 10/5, that is, 2 seconds) and the number of loops.

6. Added listeners: aggregate reports, view results in tables, and graphic reports.

7. Start execution.

1.1 aggregate report

Aggregate report is a commonly used listener in jmeter. It is translated into "aggregate report" in Chinese ". For example, if there is only one login request, a row of data will be displayed in the aggregate report, with 10 fields in total. The meanings are as follows.

# Samples: indicates the total number of requests you send in this test. If you simulate 10 users and each user Iterates for 10 times, 100 is displayed.

Average: average response time-by default the average response time for a single request median: Median, that is, the response time for 50% users (MS)

90% line: 90% user response time (MS)

Min: minimum response time

MAX: Maximum response time

Error %: Number of requests with errors in this test/total number of requests

Throughput: Throughput-the number of requests completed per second by default (request per second)

KB/sec: the amount of data received from the server per second

1.2 view results in a table

Sample count: Total number of requests sent to the server.
Latest sample: The number representing the time, which is the time when the server responds to the last request.

Average Value: The total running time divided by the number of requests sent to the server.

Deviation: the size of the server response time change, discrete value, or, in other words, the data distribution.

1.3 graphical reports

Sample count: Total number of requests sent to the server.
Latest sample: The number representing the time, which is the time when the server responds to the last request.
Throughput: the number of requests processed by the server per minute.
Average Value: The total running time divided by the number of requests sent to the server.
Median value: the number of times. Half of the server response time is lower than this value, and the other half is higher than this value.
Deviation: the size of the server response time change, discrete value, or, in other words, the data distribution.

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.