Share this page

# web.setMaxRetries

Sets the maximum number of retries of an action step.

Replay Functions

## Syntax

    web.setMaxRetries( maxRetries );

Property Name | Description
--- | ---
maxRetries | A pointer to the null-terminated string indicating the maximum number of retries. Enter 0 for no retries.

## Return Values

Not applicable

## Parameterization

The following argument(s) can be parameterized using standard parameterization: maxRetries

## General Information

The web.setMaxRetries function sets the maximum number of retries for a Action Functions. When an error occurs, retry is attempted for HTTP response statuses 500-599, and for network API errors (HttpSendRequest and so forth). Retry is not attempted for timeouts or function argument errors.

## Example

    web.setMaxRetries("5");

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: