startTransaction

Writes a start transaction event to the VU event log.

void startTransaction(const string &id);

void startTransaction(const string &id, const string &tag);

Parameters

id: The identifier of the transaction.

tag: Extra textual information. Appears in the Details column and often used for overlapping transactions with the same name.

Return Value

None.

Remarks

An event is written to the virtual user's 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 start transaction and tagged with the identifier id.

Example

startTransaction("logon");

See also: endTransaction

failTransaction

getNumberOfWarmupIterations

resumeTransaction

suspendTransaction

 

This topic was last updated on 2月 01, 2019, at 11:13:24 午前.

Eggplant icon Eggplant.io | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant