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

Batch Operations

The case list supports batch operations. Batch operations apply only to cases (including cases in the directory but excluding the directory itself).

Batch Starting High-Performance Test Cases

  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 multiple cases or directories in the case list on the left.
  4. In the floating box displayed in the lower part of the page, click Start.
  5. In the displayed Executing Temporary Test Task dialog box, modify the parameters of the temporary task.

    Table 1 Temporary test tasks

    Parameter

    Description

    Temporary Task Name

    The current case will not generate a test task, and the generated test report will be displayed in the performance report as a temporary task report and automatically deleted 30 days later.

    Execution Mode

    Serial or parallel

    Enterprise

    Provides a cloud resource management mode where cloud resources and members are centrally managed by project.

    Resource Group Type

    Shared resource group or private resource group

  6. Click Start to execute the temporary task.
  7. After the test case is started, you can click View Report to view the real-time performance report.

    You can also switch the tab page in the upper left corner and choose Performance Reports > Temporary Task List to view the performance report by temporary task name.

Batch Debugging Scalable Test Cases

Scalable test projects are for whitelisted users. To use this feature, contact background support personnel to enable it and approve your request.

  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 multiple cases or directories in the case list on the left.
  4. In the floating box displayed in the lower part of the page or in the upper right corner of the page, click Debug.
  5. In the displayed dialog box, select a test resource group as the executor.
  6. Click Start.

Batch Deleting Test Cases

  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 multiple cases or directories in the case list on the left.
  4. In the floating box displayed in the lower part of the page, click Delete.
  5. Click OK.