Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Creating a Test Suite

Updated on 2025-01-10 GMT+08:00

You can use a test suite to assign test cases to a specific processor.

Prerequisites

  • Multiple test cases have been created.

Creating a Manual Test Suite

  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 Execution. By default, Test case library and Baseline are displayed.
  3. Click next to Test case library and select a test plan.
  4. On the Manual Test tab page, click Create Suite in the upper left corner. The creation page is displayed.
  5. Configure the parameters by referring to the following table.

    Configuration Item

    Mandatory

    Description

    Name

    Yes

    Name of a suite. Enter 1 to 128 characters.

    Plan Period

    No

    Select the start time and end time of the test suite.

    Description

    No

    Brief description of the suite. Max. 500 characters.

    Tag

    No

    Enter up to 10 tags separated by spaces.

    ID

    No

    Enter 3 to 128 characters. If this is not set, the service will automatically generate an ID.

    Module

    No

    Select a module in the current project. For details about how to set a module, see Adding Work Item Modules.

    Version

    No

    Enter a version containing at least three characters.

    Processor

    No

    Select a person responsible for processing the suite.

  6. Click Add Case or Add now, select the test case to be tested, click OK, and click Save.

    To search for a test case, enter the name, ID, description, or custom fields in the search box.

Creating an Automated API Test Suite

With CodeArts TestPlan, you can create API test suite, run test cases in serial or parallel mode, and accelerate execution of some test cases. The service helps you use resource pools efficiently, reduce task blocking, intercept product defects in advance, and detect issues quickly.

  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 Execution.
  3. Click next to Test case library and select a test plan.
  4. On the Auto API Test tab page, click Create Suite in the upper left corner. The creation page is displayed.
  5. Configure the parameters by referring to the following table.

    Configuration Item

    Mandatory

    Description

    Name

    Yes

    Name of a suite. Enter 1 to 128 characters.

    Preparations

    No

    Prepare the data required during testing.

    Click Add Now to select preparation cases from the list.

    Followups

    No

    Release or restore the test data.

    Click Add Now to select followup cases from the list.

    Agent Pool

    Yes

    The agent pool allows you to access your own execution resources. When executing a task, you can select an agent in the agent pool to execute the task. This improves the task execution efficiency and does not depend on public resources of CodeArts. Click Agent Pool Management to see existing pools. For details about how to create an agent pool, see Creating an Agent Pool.

    ID

    No

    Enter 3 to 128 characters.

    Tag

    No

    Set tags for the current task as required. The tags are separated by spaces. Each task can be associated with a maximum of 10 tags.

    Module

    No

    Module of the current test suite. The module list comes from the project settings. For details, see Adding Work Item Modules.

    Processor

    No

    Person who needs to complete the test task.

    Version

    No

    Select the version that has been set for the current test plan and test cases.

    Description

    No

    Enter a brief description of the API test suite. Max. 500 characters.

    Environment Parameters

    No

    Environment parameters can be referenced by parameters, checkpoints, variables, and URLs of test steps in the entire project. Click to create an environment parameter.

    Max. Duration

    Yes

    The longest time taken for executing a test case. Cases exceeding this limit will fail. Max. 10 minutes.

    Overwrite Test Suite Parameters

    No

    You can set advanced parameters for a test suite, and overwrite global parameters in a test suite. A maximum of three global parameters can be overwritten.

    Execute

    Yes

    There are two types. By default, the task is executed only once.

    • Once: The test suite is executed only once.
    • Regularly: After you set an execution frequency, the test suite is executed periodically. Set this parameter to daily.

    Start

    Yes

    There are two options. By default, the task is executed immediately.

    • Immediately: The task is executed immediately.
    • At specific time: The task is executed at a specified time.

    Sequence

    Yes

    There are two modes. The default mode is Serial.

    • Serial: Test cases in the API test suite are executed in serial mode.
    • Parallel: Test cases in the API test suite are executed in parallel mode.

  6. Click Add Case or Add Now and select the test case to be executed.

    To search for a test case, enter the name, ID, description, or custom fields in the search box.

  7. Complete the execution settings as required and click Save.
  8. Perform the following operations on the created API test suite as required:

    • Modify: Click the name of the test suite and modify its information.
    • Delete: Click in the Operation column of the test suite and click Delete. To delete test suites in batches, select the test suites and click Delete at the tool bar below the list.
    • Copy: Click in the Operation column of the test suite and click Copy Test Suite. By default, the new suite will be named Name of the copied suite_copy_Current timestamp. You can rename the new suite, enter a description, and click OK to finish the copy operation.

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback