GetCallEndTransaction Function

Action

Gets the value of the setting that specifies whether the final transaction (end transaction) is to be processed when the load test is stopped.

Include file

Kernel.bdh

Syntax

GetCallEndTransaction( ): boolean;

Return value

  • true if the final transaction is to be processed when the load test is stopped

  • false otherwise

Example

dcltrans
  transaction TMain
begin
  if GetCallEndTransaction() then
    writeln("This virtual user will execute the final "
            "transaction when the simulation is aborted.")
  else
    writeln("This virtual user does not execute the "
    "final transaction when the simulation is stopped.")
  end
end TMain;