Chapter III: JMeter commonly used test elements--thread group

Source: Internet
Author: User

Thread Group: The starting point of the test plan, where all the logical controllers and samplers are placed under the thread group.

Used to manage the jmeter threads required to perform performance tests

1. Set the number of threads:

See how many users Jmeter need to simulate a stress test, and the number of users we need to set is the number of threads.

2. Ramp-up Period (in secods): Set Thread start cycle:

Parameter: ramp-up Period tells JMeter how long it will take to reach the maximum thread. For example:

ramp-up Period: Parameter setting rule:

1. Setup is too short: the initial stage will cause a large server pressure.

2. Setting is too long: the first thread has finished executing, and the last thread has not started.

3. According to the actual situation to set, the initial value can be set to: ramp-up Period = = Bus Path number

3. Number of cycles: sets the number of cycles to execute the test script.

By default, the Jmeter thread group is set to execute only once, and the user can set the parameter "cycle count" according to the actual situation.

4. Scheduler:

In the Scheduler interface are also: Start time and end time.

Start time: Wait until the test starts, until the user sets the startup, and then start.

End time: JMeter at the end of each cycle, check whether the end time has been reached, how the end time is reached, and JMeter will terminate the test run.

Note: The startup delay will invalidate the startup time

Duration will invalidate the end time

Chapter III: JMeter commonly used test elements--thread group

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.