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

Debugging a Case

Prerequisites

  • Test cases have been added.
  • The resource group is in the Running state.
  • Ports 32001 and 32003 on the debugging node of the resource group are enabled in the security group.
  • The execution node of the resource group and applications under the pressure test are connected through the network.

Debugging a Test Case

After you create or edit a test case, you can debug it to detect syntax or configuration errors before testing.

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Click the name of the desired PerfTest project to go to the details page.
  3. On the Cases tab, select the test case to be debugged in the case list on the left.
  4. Click Debug in the upper right corner of the page.
  5. Select the target test resource group as the executor and click Start.
  6. Click View log to view the test case debugging details.

    If an error was reported in the debugging result, edit the case based on the log information and debug it again.

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