JMeter Foundation: JMeter Basic concept

Source: Internet
Author: User
Tags resource thread

JMeter Introduction: A very good open source performance testing tool.

Advantage: You use it will find that it's a lot of advantages, of course, the point will also appear.

From the principle of the Performance tool Division:

The JMeter tool and other performance tools are completely consistent in principle, and the tool contains 4 parts:

(1) Load generators: Used to generate load, usually in a multi-threaded or multiple-process way to simulate user behavior.

(2) User Manager: Usually a script run engine that the user's runtime attaches to the thread or process, simulating the specified user behavior according to the script requirements.

(3) Resource Builder: Used to generate resource data for servers and load machines during testing.

(4) Report Builder: Generates reports based on drawing data in the test, providing visual data display.

Test Plan Components

Test Plan: Describes a performance test that contains all the functionality associated with this performance test. It is also said that all the content of this performance test is based on a plan.

Look below for a next plan what are the main functional modules (right-click the test Plan pop-up menu).

Threads (users) thread user

Although there are three options for adding a thread group, the name is different, and after it is created, its interface is exactly the same. The previous version had only one thread group name. Now one more setup Theread Group and Terdown Thread Group

1) Setup Thread Group

A special type of threadgroup that can be used to perform predictive test operations. These threads behave exactly like a normal thread group component. The difference is that these types of threads perform regular thread group execution before testing.

2) teardown thread group.

A special type of threadgroup that can be used to perform a test action. These threads behave exactly like a normal thread group component. The difference is that these types of threads perform regular thread groups after the test finishes.

Maybe you're still not. What is the difference between them and the normal thread group. If you have used JUnit, you must not be unfamiliar with Setup, teardown these 2 words. Every time you use it, it doesn't matter. Familiar with LoadRunner should know that the LoadRunner script is the real core content of the script in addition to the action, as well as initializing the "environment" of the initialization script and after the test of the corresponding purge information script block.  So here the Setup thread group and teardown thread group refer to these two parts respectively. In essence, they are no different.

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.