Share this page

# 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 will be fulfilled with no arguments.

## Example

Copy code

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

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: