VirtualUserScript ExitVU Method C# API
Stops execution of this Virtual User.

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

public void ExitVU()

The script processing for the Virtual User is immediately ended (i.e. all further statements in this script are not executed, and the execution of all further scripts is also stopped). An information message is written to the VU event log to indicate that ExitVU() has been called, and the final end entry in the log is written.

Caution note Caution
This method raises a ContextTerminationException 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