DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20505

Scheduler in JMeter





------- Additional Comments From [EMAIL PROTECTED]  2003-06-06 04:11 -------
 A test scheduler is provided to JMeter. This  supports:
               1. A start time and end time for test - The test iterations will
start at the specified time and end at the end time. If the testplan specifies
the number of iterations, it will take precedence over the end time.
               2. A start time alone and the number of iterations the test must run.

How the Scheduler developed:
  1. In ThreadGroupGui will have both the StartTime and EndTime.
  2. These values are passed to the JMeterThread from the StandardJMeterEngine
using the ThreadGroup (ConfigElement)  object.
  3. In JMeterThread will have two method for controlling the  Scheduler
                      1. startScheduler()
                      2. stopScheduler()
     startScheduler() :
              This will sleep the JMeterThread based on the starttime and
SystemCurrentTime.
     stopScheduler() :
             This will stop the Scheduler based on the EndTime

     How to work on Scheduler :

  1. First enable the Scheduler checkbok in the ThreadGroupPanel.
  2. The Scheduler configuration panel will be displayed.
  3. The Panel have two Fields StartTime and EndTime.
  4. StartTime and EndTime fields have the time control in his fields.
  5. Set the StartTime and EndTime in the time control fields.
  6. Start the test, The will start all the JMeterThread in the ThreadGroup. But
these Threads will sleep upto the
starttime specified in the scheduler.
  7.This scheduled endtime will be notified by the JMeterThread itself, each end
of the iteration the JMeterThread will check whether the scheduled endtime is
reached.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to