VirtualUserScript StartTransaction Method C# API
Writes a start transaction event to the VU event log, specifying a tag which appears in the Info column.

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

public void StartTransaction(
	string id,
	string tag = ""


Type: System String
The transaction identifier.
tag (Optional)
Type: System String
Extra information which appears in the Info column.

The time in milliseconds since the start of the test run is recorded when this method is called. When EndTransaction(String, Boolean, String) is called with the same id, an end transaction event is written to the VU event log. eggPlant Performance uses the time difference between the events to calculate the transaction time for the transaction named with the specified id.

Test Controller and Analyzer use the transaction times to calculate statistics such as average transaction time for each different id. These statistics give an indication of the performance of the System Under Test, as they show how long it takes for Virtual Users to perform the actions.

See Also