VirtualUserScript UniqueID Property C# API
Gets a test-wide unique identifier for this Virtual User.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.8.37
Syntax

public int UniqueID { get; }

Field Value

The unique identifier of this Virtual User.
Remarks

The first Virtual User has the identifier 1.
Examples

The following example demonstrates executing conditional code based on the unique Virtual User index number.
// pause for 1 second, every 10th VU 
if ((this.UniqueID % 10) == 0)
{
    Pause(1000);
}
See Also