Wait Command

Description:

This command suspends the Script execution for the specified time period. The unit is milliseconds.
If the CONSTANT option is specified, the period is not altered by the wait mode specified in the job Options tab.

Format:

WAIT period [CONSTANT];

Parameters:

period

An integer variable or value defining the number of milliseconds for which Script execution is to be suspended.

Example:

// Pause the script execution for 5 seconds
Wait 5000;

// Pause the script execution for a random time betwen 0 and 10 seconds
Wait Random(0, 10000);





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap