Retrieves the name of the active workload which the current virtual user executes.
Kernel.bdh
GetWorkload(): string;
The name of the workload.
dcluser user TestUser transactions TGetWorkload : 1; dcltrans transaction TGetWorkload var sWorkload: string; begin sWorkload := GetWorkload(); write("active workload = "); write(sWorkload); writeln; end TGetWorkload;
active workload = LoadTest