Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr_think_time

lr_think_time

Pauses execution between commands in a script.

C Language

void lr_think_time( double thinkTime  );
Example: lr_think_time Run-Time Functions

Java Language

void lr.think_time( double thinkTime  ); 
Example: lr.think_time Run-Time Functions Java Syntax

Arguments

Name Comments
thinkTime The length of the pause, in seconds.

lr_think_time 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

No value is returned.

Parameterization

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