JMeter Getting Started

Source: Internet
Author: User

0. IntroductionApache JMeter is an open source software, a purely Java-written functional testing and stress testing tool. The design JMeter was originally designed to test WEB applications, but now extends to more testing capabilities.
Apache JMeter can be used to test the performance of static and dynamic resources (WebService (soap/rest), dynamic Web languages such as PHP, Java, ASP. NET, Files, etc., Java objects, databases and queries, FTP services, etc.) 。 It can simulate huge loads on a server, a set of servers, networks, or objects, test its strength on different load types, or analyze overall performance.

one. Use

    1. Create a new thread group


2. Set Thread group parameters: number of threads is 6 [for several threads run], ramp-up Period (in seconds) [indicates thread interval between threads]: 6, number of cycles: 2 [indicates that these threads have visited a total of several times]


3. Create a new HTTP Request


For example I need GET a link: www.baidu.com (use Baidu do example is because Baidu did not prevent JMeter access, if Access CSDN will return 403) such as fill in:

4. Add View result tree


5. run to see the results

6. View aggregated reports


Aggregation report Field Explanation: Label: Request name #sample: Total number of requests average: Average response time (MS MS) Median: 50% Maximum response time (MS milliseconds) after request time sorted in ascending order: 90% Maximum response time after the request time in ascending order or 90% the worst response time (ms ms) min: Minimum response time Max: Maximum response time error: rate throughout: Throughput kb/sec: Data transfer bitrate

JMeter Getting Started

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.