Search code examples
jmeterperformance-testing

JMeter ignore Duration time when using Scheduler


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?


Solution

  • 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.