TC.crossTransactionEnd

Ends a transaction in a Vuser script that has been started in another Vuser script.

TC.crossTransactionEnd(name, identifier, status);

Arguments

Name Description

name

(string) Name of the transaction.

identifier

(string) Identifier of the transaction. The value of the parameter must be identical to the value of the identifier parameter that the Vuser initiating the transaction used in TC.crossTransactionStart.

status

One of the following: Pass, Fail, Auto, Abort, or Stop.

Return value

A promise that is fulfilled with undefined upon success.

Example

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