Retrieves the number of virtual users scheduled for the load test. The number is not decreased when a virtual user is stopped or finished.
Kernel.bdh
GetRuntimes(): number;
The number of virutal users scheduled for the load test.
dcluser user TestUser transactions TMain : 1; dcltrans transaction TMain var nRuntimes: number; begin nRuntimes := GetRuntimes(); write("number of simulators started: "); write(nRuntimes); writeln; end TMain;