Suspends the timing of the specified transaction,
identified by tag as well as id.
Namespace: Facilita.Fc.RuntimeAssembly: fc_clr (in fc_clr.dll) Version: 9.5.8.37
Syntax
public void SuspendTransaction( string id, string tag = "", VirtualUserScript script = null )
Parameters
- id
- Type: System String
The transaction identifier.
- tag (Optional)
- Type: System String
The transaction tag.
- script (Optional)
- Type: Facilita.Fc.Runtime VirtualUserScript
The currently executing VirtualUserScript.
Remarks
Examples
StartTransaction("login", "1"); // This should be included in the transaction time GoToLoginPage(); SuspendTransaction("login", "1"); // The time taken for this processing to be done will be // subtracted from the total "login" transaction time // because it isn't related to the performance of the SUT PrepareLoginDetails(); ResumeTransaction("login", "1"); // This should be included in the transaction time PerformLogin(); EndTransaction("login", true, "1");
See Also