SetSmoothArrivalRate Function

Action

Determines whether to force each virtual user to perform all transactions within the specified simulation interval.

If this option is disabled, Silk Performer calculates the delay of the arrival of each transaction randomly. In this case, the simulation time period and the total number of transactions to be called determine the mean arrival interval of the transactions.

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

Include file

Kernel.bdh

Syntax

SetSmoothArrivalRate( in bSmooth : boolean );
Parameter Description
bSmooth

If this parameter is set to true, each user tries to execute all transactions within the simulation interval

If this parameter is set to false, Silk Performer calculates the delay of the arrival of each transaction randomly.

Example

dcluser
  user
    WebUser
  transactions
    T1 : begin;
    T1 : 5;
    T2 : 4;

dclrand
  rThinkingTime: RndUniF(35.0..55.0);

dcltrans
  transaction T1
  begin
    SetSmoothArrivalRate(true);
    ThinkTime(rThinkingTime);
  end T1;
  transaction T2
  begin
    ThinkTime(rThinkingTime);
  end T2;