如何使用 Jmeter 调度程序
How to work with the Jmeter Scheduler
我对 jmeter 调度程序中的开始时间和结束时间有点困惑
开始时间:2015/12/04 12:00:00
结束时间:2015/12/04 01:00:00
持续时间:3600 秒
启动延迟:5 秒
这是正确的方法还是我应该在此处进行更改。
同上请注明
提前致谢
如果您启用 调度程序,您会看到 4 个选项
Start Time
End Time
Duration
Startup Delay
根据官方 JMeter 指南,您不应同时使用所有这 4 个。对于您的情况,我建议您定义开始和结束时间或只定义持续时间。
详情参考..
https://jmeter.apache.org/api/org/apache/jmeter/threads/ThreadGroup.html
Version 1.9 introduces a test run scheduler. Click the checkbox at the bottom of the Thread Group panel to reveal extra fields in which you can enter the start and end times of the run. When the test is started, JMeter will wait if necessary until the start-time has been reached. At the end of each cycle, JMeter checks if the end-time has been reached, and if so, the run is stopped, otherwise the test is allowed to continue until the iteration limit is reached. Alternatively, one can use the relative delay and duration fields. Note that delay overrides start-time, and duration over-rides end-time.
http://jmeter.apache.org/usermanual/test_plan.html#thread_group
我对 jmeter 调度程序中的开始时间和结束时间有点困惑 开始时间:2015/12/04 12:00:00 结束时间:2015/12/04 01:00:00 持续时间:3600 秒 启动延迟:5 秒
这是正确的方法还是我应该在此处进行更改。
同上请注明
提前致谢
如果您启用 调度程序,您会看到 4 个选项
Start Time
End Time
Duration
Startup Delay
根据官方 JMeter 指南,您不应同时使用所有这 4 个。对于您的情况,我建议您定义开始和结束时间或只定义持续时间。
详情参考..
https://jmeter.apache.org/api/org/apache/jmeter/threads/ThreadGroup.html
Version 1.9 introduces a test run scheduler. Click the checkbox at the bottom of the Thread Group panel to reveal extra fields in which you can enter the start and end times of the run. When the test is started, JMeter will wait if necessary until the start-time has been reached. At the end of each cycle, JMeter checks if the end-time has been reached, and if so, the run is stopped, otherwise the test is allowed to continue until the iteration limit is reached. Alternatively, one can use the relative delay and duration fields. Note that delay overrides start-time, and duration over-rides end-time.
http://jmeter.apache.org/usermanual/test_plan.html#thread_group