endTransaction
Writes an end transaction event to the VU event log.
int endTransaction(const string &id);
int endTransaction(const string &id, bool pass);
int endTransaction(const string &id, bool pass, const string tag);
Parameters
id: The identifier of the event.
pass: Whether or not the transaction should be failed.
tag: Extra textual information. Appears in the Details column and often used for overlapping transactions with the same name.
Return Value
int: Elapsed time in milliseconds since the start of the test.
Remarks
An event is written to the Virtual Users event log. The event has a time in milliseconds from the start of the Test run. This is set at the time of call to this method. The event is typed as an end transaction and tagged with the identifier id.
Example
endTransaction("logon");
See also: failTransaction