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

Creating a Test Project

CodeArts PerfTest helps you manage test projects. Transaction modes, test cases, test tasks, real-time reports, intelligent analysis results, and offline reports are shared in a test project. You can create different test projects for different test programs.

You can customize or use a template to create a test project. CodeArts PerfTest defines templates for the following scenarios:

  • All-in-one network office system scene: You can quickly construct a pressure model by simulating system access requests to detect service performance bottlenecks under different pressure models and prevent service breakdown.
  • Stream scene: Supports streaming push and pull with common streaming protocols. Construct corresponding pressure test scenarios and simulate typical audio and video scenarios to perform performance pressure tests to identify risks in advance.
  • Seckill scene: Simulate a large number of users performing operations on offerings at a specified time point to check the reliability of e-mall services when the access pressure increases exponentially.
  • E-commerce scene: Simulate a large number of merchants logging in to the e-commerce system and perform operations such as viewing and maintaining offering information. Verify that related operations are not interrupted and services can run properly.
  • Quick Create: Quickly create customized pressure test scenarios and orchestrate test cases on the test case page, greatly improving test case design efficiency.

Manually Creating a Test Project

  1. Log in to the CodeArts PerfTest console, choose PerfTest Projects in the left navigation pane, and click Create Test Project.
  2. Set the basic information by referring to Table 1.

    Table 1 Creating a test project

    Parameter

    Description

    Project Name

    Name of a new test project.

    NOTE:

    The project name can contain a maximum of 128 bytes, including letters, digits, and the following special characters: _/.,|`'~;:-+=×...!@#$%^&*?()<>{}[]¥"

    Type

    • High performance: efficient utilization of computing resources with massive concurrency and cost effectiveness
    • Scalable: Custom scripts are supported for customization requirements.
      NOTE:
      • After a test project is created, the project type cannot be modified.
      • Scalable test projects are for whitelisted users. To use this feature, contact background support personnel to enable it and approve your request.

    Description

    Description of a new test project.

  3. When the configuration is complete, click OK.

    After creating a test project, you can add a test case for the test project. For details, see PerfTest Case Management.

Creating a Test Project Using a Template

  1. Log in to the CodeArts PerfTest console and choose Dashboard in the left navigation pane.
  2. Select a template to automatically create test tasks. CodeArts PerfTest provides the following templates:

    • All-in-one Scene
    • Stream Scene
    • Seckill Scene
    • E-commerce Scene
    • Quick Create

    You can modify a test case as required. For details, see PerfTest Case Management.