Gets the value of the setting which specifies whether think times should be limited to a certain maximum value. If a think time is specified, which is longer than the specified think time limit, the limit duration is taken instead.
Kernel.bdh
GetThinkTimeLimit( out fLimit : float optional ): boolean;
true if a think time limit is set for the virtual user
false otherwise
Parameter | Description |
---|---|
fLimit | Think time limit in seconds, which is never exceeded, if the function returns true (optional). |
dcltrans transaction TMain var fLimit : float; begin SetThinkTimeLimit(true, 2.0); if GetThinkTimeLimit(fLimit) then writeln("Think times are limited to " + string(fLimit) + "seconds.") else writeln("No think time limit is set for the current" "virtual user."); end end TMain;