Interval Component

PDF Print E-mail
User Rating: / 5  |  Rate this article: PoorBest 

Sends a start message after a determined interval (Start At), followed by a stop message after a certain period of time (Duration). Typically used to automate enabling/disabling of Generator Components as seen in Example usage below.

IntervalComponent2

LoadUI Interval Component


OptionDescription
1_snag_evi
Input
Used to enable/disable the component.
3_snag_evi Start At
When to activate (how long to wait before sending an enable message).
4_snag_evi Duration
How long to wait before sending a disable message.
5_snag_evi Unit for time This affects both Start At and Duration.
4_snag_evi Mode Single will run the run the interval once while Repeat will constantly repeat the interval.
7_snag_evi Output Connect this to the component that is controlled by the interval component (for example a Generator).

Compact View

IntervalCompactComponent

Interval Compact View


OptionDescription
1_snag_evi
Input
2_snag_evi Start At

3_snag_evi Duration

2_snag_evi Output

Output

  • A start (enable) signal, followed by a stop (disable) signal

Controls

  • Start At
  • Duration - This is the amount of time the trigger should run for, must be higher than 0
  • Unit (% of test, seconds, minutes)
  • Enable

Example usage

intervalExampleUsage

The Interval Scheduler's Start At is set to 15 seconds, its Duration to 1 second and its Mode to Repeat. This will make the Interval Scheduler activate the Fixed Rate Generator for 1 second every 16th second (note that it will start with a 15 second delay before the first activation). Overall, the example project will send 32 requests in a burst, every 16th second, to http://www.google.com