GetCompleteTransaction Function

Action

Gets the value of the setting that specifies whether the active transaction and the final transaction are to be processed when the load-test is stopped.

Include file

Kernel.bdh

Syntax

GetCompleteTransaction(): boolean;

Return value

  • true if the active transaction and the final transaction are to be processed when the load-test is stopped

  • false otherwise

Example

dcltrans
transaction TMain
begin
if GetCompleteTransaction() then
writeln("This virtual user completes the current "
"transaction when the simulation is aborted.")
else
writeln("This virtual user does not complete the "
"current transaction when the simulation is aborted.")
end
end TMain;