Startup and Shutdown Transactions

Silk Performer provides a special initialization transaction which is called once at the beginning of the simulation of a user. A transaction is set as a startup transaction by using the keyword begin instead of the transaction frequency parameter.

Silk Performer provides a special termination transaction which is called once at the end of the simulation of a user. A transaction is set as a shutdown transaction by using the keyword end instead of the transaction frequency parameter.

注: There is a profile simulation setting called Call end transactions for stopped virtual users that, when disabled, prevents execution of the end transaction for stopped virtual users.

Example

dcluser
  user
    User1
  transactions
    TInit     : begin;
    TUpdate   : 10;
    TDelete   : 10;
    TPrint    : 10;
    TShutdown : end;