Jmeter Introduction: 01jmeter overview and component Introduction

Source: Internet
Author: User
Tags jconsole
    1. jmeter Overview   Jmeter is a testing tool. Compared with LoadRunner and other testing tools, jmeter is free and easy to use, but the premise is to install the Java environment. jmeter can do (1) stress testing and performance testing; (2) database testing; (3) Java program testing; (4) HTTP and FTP testing; (5) web service testing; and so on; jconsole, a test tool that comes with JDK, may be used with jmeter, which is located in JDK \ bin \ jconsole. This tool mainly observes the usage of heap, JVM, and CPU. The interface is as follows:
Ii. jmeter Installation
Unzip it; jmeter plug-in: http://code.google.com/p/jmeter-plugins/downloads/detail? Name1_jmeterplugins-0.5.3.zip

After downloading the JAR file, place it in the jmeter_home \ Lib \ ext directory;Iii. Common jmeter Components Test Plan: The entire test plan;

Thread group: all tasks are based on thread groups. The number of threads activated indicates the number of concurrent users;

Ramp-up period: complete all tests in so much time. For example, if two threads are enabled and ramp-up period is 3, the interval between each thread is 1.5 seconds. sampler: all test tasks are sampler, that is, all test tasks belong to sampler categories, such as HTTP requests, JDBC requests, and FTP requests. assertions: the sampler test is correct. Listener: collects and displays the sampler request results;
Common hierarchies are: HTTP requests: Simulate HTTP requests; view result tree: You can view HTTP requests and HTTP responses for each request. graphical results: supports graphical display of throughput and response time; aggregate reports: overall throughput and response time;

1. Label: the HTTP Request Name.

2. Samples: indicates the total number of requests sent in this test.

3. Average: average response time for accessing the page

4. Min: minimum response time for accessing the page

5. MAX: Maximum response time for accessing the page

6. Error %: Number of wrong requests/total number of requests

7. throughput: number of completed requests per second

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

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.