使用计划程序时,JMeter忽略持续时间 [英] JMeter ignore Duration time when using Scheduler
问题描述
我尝试使用以下详细信息运行线程组:
I tried to run Thread group with below details:
- 线程数:1
- 启动时间:1
- 循环数:1
计划程序框:已选中
- 持续时间:1800
- 启动延迟:1
该线程组用于Login事务,有57个样本. 当我点击运行"时,整个线程不会运行1800秒,而是运行 84秒
The thread group is for Login transaction and has 57 samples. When I hit Run, the entire thread doesn't run for 1800 sec but for 84 sec
运行前是否需要检查或配置?
Is there anything I need to check or configure before run?
推荐答案
要使用Duration
,您需要在
In order to use Duration
you need to check Loop count as Forever
in Thread Group
它似乎关闭了,但是会在达到持续时间后立即停止执行
It may seems off, but it will stop executing right after it reach duration time
默认情况下,线程组被配置为遍历其元素一次.
By default, the thread group is configured to loop once through its elements.
这篇关于使用计划程序时,JMeter忽略持续时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!