failTransaction
Writes a fail transaction event to the VU event log.
int failTransaction(const string &id);
int failTransaction(const string &id, const string &tag);
Parameters
id: The identifier of the event.
tag: Extra textual information. Appears in the Details column.
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 a failed transaction and tagged with the identifier id.
This is equivalent to calling endTransaction with a pass value of false.
Example
failTransaction("logon part 1");
See also: resumeTransaction