PAUSE

System Testing Test Script Language.

Syntax

PAUSE [<duration>]

<duration> is an integer specifying the length of the delay in multiples of 10ms by default.

Description

PAUSE introduces a delay in the execution of the supervisor script. It does not delay any other processes that are running on the machine.

The PAUSE instruction does not appear in generated reports.

<duration> is the duration of the delay in multiples of the time unit. By default the time unit is 10ms and can be customized in the TDP.

Example

In the following example, the first PAUSE statement introduces a delay of 200ms before resuming the execution of the script. The second PAUSE statement pauses the script for 1840ms.

#int hp = 3;

#int ds = 5;

PROC init (int sock_type)   

...   

PAUSE 20

...

END PROC

SCENARIO Main   

...

CALL init( AF_UNIX )   

PAUSE (hp+ds)*23   

...

END SCENARIO

Related Topics

WTIME