Share this page

# lr_advance_param

Advances to the next available parameter value.

## C Language

    int lr_advance_param( char *param );

Example: lr_advance_param | Parameter Functions

## Java Language

    int lr.advance_param( String parameter );

Example: lr.advance_param | String and Parameter Functions | Java Syntax

## Arguments

Name | Comments
--- | ---
param | The name of the parameter in quotes (no brackets).

The lr_advance_param function causes the script to use the next available value of the parameter. If you are running multiple iterations, you can specify in the parameter properties to advance automatically to the next value for each iteration. Use this function within an iteration to advance to the next value.

The effect on other parameters in the same data file depends on the settings in the Vuser parameter list dialog. See the Example: lr_advance_param.

This function is not recorded—you insert it manually into your script.

## Return Values

This function returns 0 on success and -1 on failure.

## Parameterization

Parameterization is not applicable to this function.

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: