OpenSTA logo OpenSTA SCL Reference
SYNCHRONIZE REQUESTS Command

SYNCHRONIZE REQUESTS Command

HTTP requests are issued asynchronously. Immediately after an HTTP request has been issued, the next command in the Script is processed. OpenSTA replay does not wait for response to be received from an HTTP request before processing the next command.

This command causes the thread replay currently executing to be suspended immediately, until responses have been received for all the requests that have been issued by the thread. It is only valid within a Script that has been defined as MODE HTTP.

The ON TIMEOUT GOTO tmo-label clause can be specified to define the label to which control will be transferred if the request times out.

Command Definition:

[SYNCHRONIZE|SYNCHRONISE] REQUESTS
	{,WITH TIMEOUT period {,ON TIMEOUT GOTO tmo-label}}

period

An integer variable, value, or expression defining the number of seconds to wait before the command is timed out. The valid range is 0 - 32767.

tmo-label

A label defined within the current scope of the Script to which control branches if a timeout occurs.

Examples:

SYNCHRONIZE REQUESTS
SYNCHRONISE REQUESTS &
	,WITH TIMEOUT 60, ON TIMEOUT GOTO TIMED_OUT

<<<
prev page
^^^
section start
>>>
next page