SetCompleteTransaction Function

Action

Specifies whether the active transaction is to be processed when the load test is stopped.

If you enable this option, the virtual user checks whether to stop only at the beginning of a new transaction. Thus the active transactions is completed before the user is stopped. If you disable this option, the virtual user checks whether to stop during thinking and waiting times, times in the waiting queue, and at the beginning of each transaction.

Include file

Kernel.bdh

Syntax

SetCompleteTransaction( in bComplete : boolean );
Parameter Description
bComplete If this parameter is set to true, the active and the final transaction are processed. Otherwise, if this parameter is set to false, the active transaction is aborted and the final transaction is omitted.

Example

dcltrans
  transaction TInit
  begin
    SetCompleteTransaction(true);
  end TInit;