Updated on 2025-12-23 GMT+08:00

Managing PerfTest Projects

After a test project is created, you can modify, delete, import or export it.

Modifying a Test Project

  1. Log in to the CodeArts PerfTest console.
  2. In the navigation pane, choose PerfTest Projects.
  3. In the PerfTest project list, locate the target project, click in the Operation column, enter a new project name or description, and click OK.

Deleting Test Projects

  1. In the PerfTest project list, locate the target project, choose > Delete Project in the Operation column, and delete the project as prompted.
  2. Alternatively, select one or more test projects, click Delete, and delete them as prompted.

Modifying Tags

  1. In the PerfTest project list, locate the target project, choose > Modify Tag in the Operation column. The Resource Tags tab page is displayed.
  2. Modify tags by referring to Configuring Resource Tags for a PerfTest Project.

Exporting Test Projects

To streamline operations, you do not need to write a test project from scratch. You can find an existing project similar to your service model, export it, make the necessary modifications, and then import the updated project.

  1. Select one or more projects to be exported from the PerfTest project list, and click Export. Then save the exported test project file ProjectList(Serial number).json to the local host.

    • If SLA rules have been configured for a project, they will not be included in the export.
    • If a file with global variables has been uploaded to a project, this file will not be exported with the project.
    • If a test project contains encrypted global variables, the project cannot be imported after being exported.
    • Projects that use the MQTT protocol cannot be exported.

  2. Modify parameters and the project name (the name must be unique) in the file as required, and save the file. Do not change the format of the ProjectList(Serial number).json file. Altering the format may cause the subsequent import to fail.

Importing a Test Project

Test projects of PerfTest and JMeter can be imported to CodeArts PerfTest.

  1. On the PerfTest Projects page, click Import.
  2. Import a PerfTest project. Currently, projects that use the MQTT protocol cannot be imported.

    1. Set Project Type to PerfTest project.
    2. Click Select File, select a project file in JSON format, and click Import.

      The name of the imported project must be unique in CodeArts PerfTest. Otherwise, the project cannot be imported.

  3. Import a JMeter project.

    1. Set Project Type to JMeter project.
    2. Click Select File, select a project file in .jmx format, and click Import.

    Pay attention to the following points when importing a JMeter project:

    • Ensure that the fields in the JMeter script are supported in CodeArts PerfTest. For details, see Mapping Between JMeter and PerfTest Fields.
    • JMeter parses the following contents: thread group, HTTP request, HTTP header manager, regular expression extractor, user parameter, user-defined variable, default HTTP request value, and fixed timer.
    • Random variables are not supported.
    • To ensure the accuracy of data import, do not use variables with the same name.
    • A JMeter script cannot exceed 5 MB.

  4. After the project is imported, click Close. You can modify the test project by referring to Modifying a Test Project and Managing Transaction Requests.

Viewing a Test Project

You can view the existing projects.

  1. On the PerfTest Projects page, enter a test project name in the search box to search for the target test project.
  2. You can also filter test projects by project scope. Click Figure 1 and select the target test project.

    Figure 1 Scope drop-down list
    • All: displays all projects within the current user's permission scope, including projects created by subaccounts.
    • my project: displays only projects created by the current account.