I am working on JMeter version 2.5.1 and I want to set up a Scheduler for my Thread Group.
I set the following values for scheduler fields:
Start Time = 2011/12/13 11:30:00
End Time = 2011/12/13 11:32:00
Duration (seconds) = 3
Startup delay (seconds) = 5
My threads start after the delay of 5 seconds and keep running up to 3 seconds duration. But I cannot see any effect of Start Time and End Time on my threads.
Kindly tell me what do these fields do in the process of running of threads.
The ramp-up period tells JMeter how long to take to "ramp-up" to the full number of threads chosen. If 10 threads are used, and the ramp-up period is 100 seconds, then JMeter will take 100 seconds to get all 10 threads up and running. Each thread will start 10 (100/10) seconds after the previous thread was begun.
JMeter provides an option to run test plan for specified amount of time using scheduler configuration in Thread Group. We just need to check Scheduler checkbox which is available at the bottom of the Thread Group.
Scheduler is used to Remotely or a scheduled run of a test script. Kindly follow the below these info for scheduling timer for a Jmeter script. start the Jmeter. Right Click on Test Plan-> Add-> Threads->Thread Group. Check the Scheduler check box.
Duration is neither the start time nor the end time but the timespan between the two. If your total duration is 1 second and your ramp up time is 1 second it might lead to a bit confusion since some of the threads have only just started when the whole test is already over.
According to the Jmeter documentation,
Delay overrides Start Time, and Duration overrides End Time.
If you remove your delay and duration, the test should run for the scheduled time!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With