Updated on 2024-04-08 GMT+08:00

Managing Transactions

After a transaction is created, you can modify, delete, and copy the transaction.

A transaction used by a test cannot be deleted.

Modifying a Transaction

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Locate a PerfTest project to be edited and click to edit the transaction library.
  3. On the Transactions tab page, click next to the transaction name and choose Edit.
  4. Modify the transaction name and click OK.

Deleting a Transaction

Deleted transactions cannot be restored. Exercise caution when deleting a transaction.

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Locate a PerfTest project to be edited and click to edit the transaction library.
  3. On the Transactions tab page, click next to the transaction name and click Delete. Delete the transactions as prompted.

    You can also select a transaction name in the transaction list. In the floating box displayed in the lower part of the page, click Delete to delete the transaction as prompted.

    Figure 1 Deleting transactions

    If some transactions to be deleted in batches are referenced by a test task, only transactions that are not referenced can be deleted.

Copying a Transaction

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Locate a PerfTest project to be edited and click to edit the transaction library.
  3. On the Transactions tab page, click next to the transaction name and click Copy.
  4. Enter the name of the new transaction and click OK.