VirtualUser ResumeTransaction Method C# API
Resumes the timing of the specified transaction, identified by tag as well as id.

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

public void ResumeTransaction(
	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

Use this method after a call to SuspendTransaction(String, String, VirtualUserScript).
Examples

The following example demonstrates suspending a transaction while performing processing that is unrepresentative of a real user's work.
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