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

lr.think_time

Pauses execution between commands in a script.

JavaScript

function lr.think_time(thinkTime)

VBScript

Sub lr.think_time(thinkTime)
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.