Ultimate Thread Group中每个线程的延迟 [英] Delays for each thread in Ultimate Thread Group

查看:112
本文介绍了Ultimate Thread Group中每个线程的延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有10个线程的线程组.

I have thread group of 10 threads.

我看到所有10个线程都同时启动,因此不可能同时为第一个Web请求创建巨大的负载.

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.

我想以某种方式随机化开始时间.例如,在线程启动之间增加5秒的延迟:第一个线程启动,然后5秒的延迟,然后第二个线程启动,依此类推.

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.

使用Ultimate Thread Group插件可以吗?

Is it possible with Ultimate Thread Group plug-in?

推荐答案

为什么不将Uniform_Random_Timerjmeter.apache.org/usermanual/…添加为线程组中第一个采样器的子代.该计时器将每个线程请求暂停一个随机的时间量,每个时间间隔具有相同的发生概率.总延迟是随机值和偏移值之和.我相信,如果您将其添加为子项,它将仅保留父项样本.

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.

这篇关于Ultimate Thread Group中每个线程的延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆