Updated on 2025-08-19 GMT+08:00

Creating an Automated API Test Case Template

Constraints

The name of an API automation test case must contain 1 to 128 characters. Only letters, digits, and special characters (-_/|*&`'^~;:(){}=+,×...—!@#$%.[]<>?–") are supported.

Creating an Automated API Test Case

  1. Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
  2. In the navigation pane, choose Testing > Testing Case.
  3. Click the Auto API Test tab and click Create Case in the upper left corner of the page.
  4. Enter the test case name, set other information as required, and click Save. Alternatively, click Save and Write Script. The Scripting page is displayed.

    The main configuration items of automated API test cases are similar to those of manual test cases. For details, see Creating a Manual Test Case.