JMeter ignore Duration time when using Scheduler

白昼怎懂夜的黑 提交于 2020-01-15 12:15:35

问题


I tried to run Thread group with below details:

  • Number of thread: 1
  • Ramp-up period: 1
  • Loop count: 1

Scheduler box: checked

  • Duration:1800
  • Start up delay : 1

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?


回答1:


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.



来源:https://stackoverflow.com/questions/52496657/jmeter-ignore-duration-time-when-using-scheduler

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