TCA.crossTransactionEnd
Ends a transaction in a Vuser script that has been started in another Vuser script.
TCA.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 TCA.crossTransactionStart. |
status | One of the following: Pass, Fail, Auto, Abort, or Stop. |
Return value
A promise that will be fulfilled with no arguments.
Example
TCA.crossTransactionEnd("transactionName", "TransactionId", "Pass").then(function(){
TCA.done();
}).catch(function (error) {
TCA.doneWithError(error);
});