SetStressTest Function

Action

Specifies whether or not Silk Performer should ignore the thinking periods specified with the ThinkTime function and several low-level web functions.

Note: This function overrides the setting specified in the Simulation tab of the Profile Settings - Simulation dialog.

Include file

Kernel.bdh

Syntax

SetStressTest(in bST: boolean): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
bST If this parameter is set to true, Silk Performer ignores the thinking period

Example

dcltrans
  transaction TInit
  begin
    SetStressTest(true); // In this case, Silk Performer
    ThinkTime(5.0); // ignores the thinking period
  end TInit;

Sample scripts

Measure01.bdf, Measure02.bdf, Measure03.bdf