The following DOES work: - Set Start Time to time in future - Set End Time for desired end time - Leave Duration empty - Leave Startup delay empty - Select Run->Start from menu The test will start at the Start Time and finish at the End Time
The following DOES work: - Leave End Time to default value - Leave End Time to default value - Enter value for Duration - Enter value for Statup delay - Select Run->Start from menu The test will start after "Startup delay" seconds You are correct. The Startup delay has precedence over the Start Time. I'd like to make one suggestion for the UI. Put an "OR" between the two groups of boxes and have the Start and End times in a grouped box and having Duration and Startup in another group box. This would have made things MUCH clearer for me. Thanks for your help Ashley. I can now start my load test and go off to our company's holiday party while it's running! Paul On Thu, 23 Dec 2004 09:56:56 -0000, Ashley Hayes <[EMAIL PROTECTED]> wrote: > Hi Paul, > from the mails last week my enlighten understanding of the scheduler > behaviour is that you use either "Start/End time" or "Start Delay and > Duration". Entering a Duration and Start Delay has precedence over the > Start/End time , effectively ignoring them. > > I have not tried this but suggest you leave the Duration and Start delay > blank, set the start time to now + 5 minutes and the end time to now + 125 > minutes. This should roughly give you a 2 hour test. > Don't quote me but I think this means that no new iterations will be started > by a thread after the end time. > > Hope this helps > A > > > -----Original Message----- > From: Paul Leclerc [mailto:[EMAIL PROTECTED] > Sent: 23 December 2004 00:18 > To: JMeter Users List > Subject: How does Thread Group scheduler *really* work? > > After this recent spate of emails about the thread group scheduler, I > decided to try it yet again. > > I'm using Jmeter 2.0.2 (not from CVS), java 1.4.2_04 on Windows Server 2003. > > I have one (1) thread group. > I leave Loop Count: forever *unchecked* though it doesn't seem to matter. I > check Scheduler. Start Time, I put ANY time/date in the future (minutes, > hours, days from now), doesn't matter End Time, I put ANY time/date later > than the start time > Duration: I put 7200 (I want it to run for 2 hours) > Startup Delay: 1 (based on previous emails) > > I then select Run->Start and it starts the test immediately and starts > hitting the URLs in the test plan. The startup time is ignored. I tried > just letting it sit there w/o hitting Run->Start thinking that the scheduler > will start it. That doesn't work. > > Am I doing this correctly? I looked at the User Manual but the section on > the scheduler was pretty slim ;-) > > I'd be willing to grab a newer version from CVS if I knew the correct CVS > tag containing the fixes Sebb mentioned a few days ago. The nightly builds > seem to be very old. > > I really need to be able to schedule some longer running tests but have > never been able to get this to work. Any clues? > > Paul Leclerc > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

