Simulates thinking periods during user transactions (for example, the time required to enter input data). This function only affects simulation in case of a real load test. Note that during Try Script runs, think times are ignored completely.
Kernel.bdh
ThinkTime( in fTime : float, in nOption : number optional, in nDeviation : number optional ): float;
Actual thinking time (in seconds).
Parameter | Description |
---|---|
fTime | Time interval that the simulated user must wait (in seconds). |
nOption |
Specifies whether or not random values should be generated for think time periods (optional). The following options are available:
When this parameter is omitted, the user waits as long as specified. |
nDeviation | The deviation factor used when OPT_THINKTIME_UNIFORM is set (in %). |
dcltrans transaction TMain begin SetStressTest(false); ThinkTime(3.0); WebUrl("http://www.MyCompany.com"); ThinkTime(5.0, OPT_THINKTIME_EXPONENTIAL); WebUrl("http://support.MyCompany.com/index.jspa"); ... end TMain;
RandomLogin.bdf, Measure01.bdf, Measure02.bdf, Measure03.bdf, OraSample.bdf, DBApi01.bdf