Share this page

# lr.thinkTime

Pauses execution between commands in a script.

Example | Runtime Functions

## Syntax

    lr.thinkTime( thinkTime );

## Arguments

Argument | Comments
--- | ---
thinkTime | The length of the pause, in seconds.

lr.thinkTime allows you to pause test execution during a run. This is especially useful in simulating think time, the time a real user pauses to think between actions.

When using cross-step downloads or asynchronous functions of any kind, a long think time may cause the download to time out.

## Return Values

Not applicable

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

lr.thinkTime instructs the script to pause for 10 seconds.

    lr.thinkTime(10);

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: