TC.crossTransactionStart

Begins a transaction in a Vuser script that is ended in another Vuser script.

TC.crossTransactionStart(name, identifier);

Arguments

Name Description

name

(string) Name of the transaction.
identifier

(string) Identifier of the transaction. The same value is used by TC.crossTransactionEnd to identify the transaction.

Return value

A promise that is fulfilled with undefined upon success.

Example

Copy code
(async ()=>{
    await TC.crossTransactionStart("transactionName", "TransactionId");
})();