Delays for each thread in Ultimate Thread Group

若如初见. 提交于 2019-12-13 05:23:08

问题


I have thread group of 10 threads.

And I see that all 10 threads start at the same time, therefore create unlikely huge load for first web request at the same time.

I want to randomize start times somehow. For example, add 5 seconds delay between thread starts: first thread starts, then 5 sec delay, then second thread starts, etc.

Is it possible with Ultimate Thread Group plug-in?


回答1:


Why not add Uniform_Random_Timer jmeter.apache.org/usermanual/… as the child of first sampler in the thread group. This timer pauses each thread request for a random amount of time, with each time interval having the same probability of occurring. The total delay is the sum of the random value and the offset value. I believe if you add as child it will hold only the parent sample.



来源:https://stackoverflow.com/questions/18186096/delays-for-each-thread-in-ultimate-thread-group

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