The delay object adds a pause in iteration execution.

1. Go to the Build Test Case node.

2. Select the object where you want to insert the delay.

3. Right-click and select Insert Object -> Insert Delay, then select Insert Before, Insert After, or Insert Into a container.



Types of delays

There are 2 types of delays: constant and random.

Constant

A constant delay pauses iteration execution for a constant period of time. Set the Delay type property to Constant and the Delay (s) property to the number of seconds to pause.

Delay

The Delay (s) property can include fractions of a second. For example, to set a delay to 100ms, set the property to .1.

Random

A random delay pauses iteration execution for a random period between a given interval. Set the Delay type property to Random then to specify the random delay interval, set the Minimum delay and Maximum delay properties.

Delay

The Minimum delay and Maximum delay properties can include fractions of a second. For example, to set a delay to 100ms, set the property to .1.

Reporting

By default, a delay inside a Transaction (or Page) will not be included in the transaction time. To change this behavior, set the Include in transaction time property to Yes to include the delay time in the total parent transaction time. This option is typically used for emulating client execution times.

Skip during verify

Sometimes delays are only necessary to emulate real-world load and are not necessary for the test configuration. Set the property Emulate during verify to No to skip during test case verification.

  • No labels