Utility Functions and C Language Reference > Utility Functions: .NET (lr.) > Alphabetical Listing > lr.think_time

lr.think_time

Pauses execution between commands in a script.

C#

void lr.think_time( double thinkTime );

VB.NET

Sub  lr.think_time( ByVal thinkTime As Double )  
Example: lr.think_time Run-Time Functions

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 returned.

Parameterization

Standard parameterization is not available for this function.