TCA.crossTransactionStart
Begins a transaction in a Vuser script that is ended in another Vuser script.
TCA.crossTransactionStart(name, identifier);
Arguments
Name | Description |
---|---|
name | (string) Name of the transaction. |
identifier | (string) Identifier of the transaction. The same value is used byTCA.crossTransactionEnd to identify the transaction. |
Return value
A promise that will be fulfilled with no arguments.
Example
TCA.crossTransactionStart("transactionName", "TransactionId").then(function(){
TCA.done();
}).catch(function (error) {
TCA.doneWithError(error);
});