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

Debugging Transactions

After adding or modifying a transaction, you can quickly find syntax or configuration errors through debugging.

Prerequisites

  • The resource group is in the Running state.
  • Ports 32001 and 32002 on the debugging node of the resource group are enabled in the security group.
  • The network between the debugging node of the resource group and the tested application is normal.

Procedure

  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, select the transaction to be debugged and click Debug in the upper right corner of the page. You can also click next to the transaction name and click Debug.

  4. Select the target test resource group as the executor, and click Start to start debugging.
  5. Click View log to view the transaction debugging details.

    If an error is reported during the debugging, modify the transaction requests according to the log information, and then debug the transaction again.

  6. On the Debug log tab page, you can view the debugging history.