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

Configuring a Case Script

After a test case is created, you can modify it as required.

Creating a Case Script

  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 desired test case in the case list on the left.
  4. Click Case Script and select Pre-Steps, Steps, or Post-steps.

    Pre-Steps are executed only once in each execution thread. This configuration is optional.

    Steps are executor of a test case, which needs to be configured.

    Post-Steps are executed only once in each execution thread. This configuration is optional.

  5. Create steps based on service requirements. For details, see Add Step.
  6. When the configuration is complete, click OK.