Lr--controller pacing settings (settings that cannot be ignored)

Source: Internet
Author: User

Run-timepacingSetting the main impact what?

pacing is used primarily to set the interval between repeated iterations of a script. There are three ways to do this:

A: Start immediately after the last iteration,

B: Wait for a fixed time after the last iteration,

C: Start a new iteration at a fixed or random time interval. ----commonly used

Set the iteration to the actual needs. In general, there is no time interval that creates greater stress.


I: Many people ignore this option when using LR, but people who have a deep understanding of LR often use that configuration. Test Scenario: 100 concurrent users to achieve 100TPS processing power, focus on verifying the concurrent user, that is, each concurrent user to control the request within 1s, to achieve the target of 100TPS; When doing load testing, you can gradually increase the concurrent users to see the maximum concurrency capability of the system. Before the author also always like to use the LR target mode, is to set 100 users, the target is 100TPS, but there is a problem, whether to reach 100TPS, the real use of 100 users? This is not certain, think that 1s is a time period, there is 1000ms, if you interface performance is good enough, you use 10 concurrent users can achieve 100TPS target, think each user 1s made 10 requests (this is due to the system response quickly), although reached the goal of 100TPS, But it is not the actual number of concurrent users, so there will be the author said above the use of the settings.

For example: After the set (above the C case), if 1 users of the request in the 200MS system will return the response, the user at the beginning of the next iteration is the rest of 800ms, that is, within 1s, to reach 100TPS, is every user requested once. Because the response time of the system is beyond our control, the high level of LR indicates that LR automatically adjusts each iteration based on response time to meet your setup requirements.

Note : The above scene in question or about the performance of the details of things, do not understand their own Baidu under. No more details here.

Lr--controller pacing settings (settings that cannot be ignored)

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.