Difference between Think time and Pacing Time in Performace testing

て烟熏妆下的殇ゞ 提交于 2021-02-07 07:17:34

问题


Pacing is used to achieve X number of iterations in X minutes, But I'm able to achieve x number of iterations in X minutes or x hours or x seconds by specifying only think time without using pacing time.

I want to know the actual difference between think time and pacing time? pacing time is necessary to mention between iterations? what this pacing time does?


回答1:


Think time is a delay added after iteration is complete and before the next one is started. The iteration request rate depends on the sum of the response time and the think time. Because the response time can vary depending on a load level, iteration request rate will vary as well.

For constant request rate, you need to use pacing. Unlike think time, pacing adds a dynamically determined delay to keep iteration request rate constant while the response time can change.

For example, to achieve 3 iteration in 2 minutes, pacing time should be 2 x 60 / 3 = 40 seconds. Here's an example how to use pacing in our tool http://support.stresstimulus.com/display/doc46/Delay+after+the+Test+Case




回答2:


Think Time it introduces an element of realism into the test execution. With think time removed, as is often the case in stress testing, execution speed and throughput can increase tenfold, rapidly bringing an application infrastructure that can comfortably deal with a thousand real users to its knees. always include think time in a load test. think time influences the rate of transaction execution

Pacing another way of affecting the execution of a performance test affects transaction throughput



来源:https://stackoverflow.com/questions/28207088/difference-between-think-time-and-pacing-time-in-performace-testing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!