VirtualUserScript PauseFactor Property C# API
Gets or sets the current percentage pause factor.

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

public int PauseFactor { get; set; }

Field Value

A percentage factor to apply to all subsequent Pause(VirtualUserScript) statements.

You can use this property to slow down or speed up a running test, by changing the length of time that this Virtual User will pause for.

The following example demonstrates increasing and decreasing the time that a Virtual User will pause for.
// to make all pauses twice as long (200%) 
this.PauseFactor = 200;

// or to reduce all following pauses to 10% of their stated value 
this.PauseFactor = 10;

// or to obtain the current value 
int pf = this.PauseFactor;
See Also