Share this page

# web.setMaxRetries

Sets the maximum number of retries of an action step.

Example | 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 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: