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

Creating a Test Task

A test task initiates a performance test based on a defined test model. It is a series of tests performed at different pressure points to continuously initiate pressure tests on a system. Testing allows you to obtain and analyze the performance data of the system. You can add multiple test tasks to a test project.

Prerequisites

  • A test case has been created and configured based on service requirements.
  • (Optional) A transaction has been added.

Procedure

  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 Test Tasks tab, click Create Task.
  4. Enter a task name and select an execution policy.

    There are two execution policies:

    • Serial: Test cases in the test task are executed in sequence.
    • Parallel: Test cases in the test task are executed concurrently.

  5. Click Add Case. In the dialog box that is displayed, select created cases.

    A test case can be added to multiple test tasks.

  6. When the configuration is complete, click Save.