问题
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