VirtualUserScript CurrentIteration Property C# API
Gets the number of the iteration that this Virtual User is currently executing (beginning at 1).

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

public int CurrentIteration { get; }

Field Value

The number of the iteration that this Virtual User is currently executing (beginning at 1).
Remarks

As a Virtual User completes execution of the iterated sequence of scripts, the iteration number is increased by 1 and execution of the next iteration of the iterated sequence of scripts is started from the beginning.

This method returns 1 if this Virtual User is executing the first iteration. Compare to Iteration.

See Also