VirtualUser NextIteration Method C# API
Stops execution of the current script, and starts execution of the next iteration.

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

public void NextIteration()

The execution of the calling script ceases and the execution of the next iteration of scripts is begun. If the sequence of scripts being executed is the initial or final sequence of scripts, then the execution of this sequence is curtailed. Otherwise, the execution of the repeated sequence of scripts begins again at the next iteration.

Caution note Caution
This method raises a ScriptContextTerminationException and under normal conditions you should not write any code to catch this exception, as this would interfere with the mechanism of the eggPlant Performance engine.

See Also