How to run JMeter test plan for specified amount of time?
How to run an JMeter test plan that it should be completed in specified time or it should be terminated within that stipulated time? Please throw me light on this question.
You can do this by using JMeter Scheduler: In Thread Group tick the Scheduler and set the value as below:
Start Time and End Time: No need to input. keep them as they are, because they have no significant after entering Duration and Startup delay value. Delay overrides Start Time, and Duration overrides End Time.
For example, if you want to run the test for 2 min. Input the value as below:
Duration (seconds): 120
Startup delay (seconds): 0
Now it's the time to run the test: Run -> Start