Suspends the Vuser script execution until the specified parameter exists.

int web_sync ( "ParamCreated=param_name", ["RetryIntervalMs=integer,] ["RetryTimeoutMs=integer,] LAST);
Argument Description
ParamCreated The name of a parameter.

The number of milliseconds to wait before a retry after a test of the condition yielded false. The default is 500.

The default can be overridden by the "web_sync retry interval" runtime setting.


The maximum number of milliseconds during which retries are allowed. The default is 30000.

The default can be overridden by the "web_sync retry timeout" runtime setting.

Regardless of the value of this argument or of the "web_sync retry timeout" runtime setting, the timeout never exceeds the value of the "Step download timeout" runtime setting.

LASTA marker that indicates the end of the argument list.

Return Values

This function returns LR_PASS (0) if the specified parameter exists, and LR_FAIL (1) if the step times out.


The values of keyword-value pairs can be parameterized. For example, "ALT={altParam}".

General Information

The parameter named in the ParamCreated argument is expected to be created by a concurrent activity, such as a poll or a push conversation. If the parameter has already been created when the function is invoked, it returns immediately. If not, the script run is suspended until either the parameter is created or the function times out.


Concept Link IconSee Also