Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Start Time and End Time in JMeter Scheduler

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.

like image 667
asma Avatar asked Dec 13 '11 06:12

asma


People also ask

What is start time in JMeter?

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.

How do I run a specific time in JMeter?

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.

What is Scheduler configuration in JMeter?

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.

What is test duration in JMeter?

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.


1 Answers

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!

like image 195
James Bassett Avatar answered Sep 28 '22 10:09

James Bassett