El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

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

Configuring SLAs

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

A Service Level Agreement (SLA) defines criteria for performance metrics. You can gain a better understanding of the performance of your service by checking if the metrics meet the criteria specified in the SLA.

Only PerfTest projects support SLAs. JMeter projects do not support. When the SLA metric thresholds are met, alarms will be generated or the performance tests will be stopped.

During a CodeArts PerfTest pressure test, the SLA sampling interval is 6 seconds. Any request that does not receive a response within this interval is not accounted for in the SLA metrics. If numerous requests experience high latency during the stress test, it may impact the SLA assessment.

You can create SLAs in either of the following ways:

Creating and Importing an SLA Template

  1. Log in to the CodeArts PerfTest console, choose SLAs in the navigation pane, and click Create SLA Template. You can create up to 20 SLA templates in your account in each region.
  2. Set the SLA basic information.

    • SLA Name: This is used to identify an SLA. The SLA name must be unique in a region.
    • SLA Description: This parameter is optional.

  3. Click Add Rule. On the Create Rule dialog box that is displayed, set the SLA rule by referring to Table 1 and click Confirm.

    Table 1 SLA rule parameters

    Parameter

    Description

    Rule Name

    This is used to identify a rule.

    Metric

    Three types of metrics are supported. CodeArts PerfTest will generate an alarm or stop a performance test when the metric reaches the specified threshold.

    • Average response time (RT)
    • Requests per second (RPS)
    • Success rate

    Thresholds

    Thresholds for triggering an alarm or stopping a performance test.

    For example, if you set the metric threshold for Stop Test to < 100 and 3 consecutive times, the test task will be stopped when the metric exceeds 100 for three consecutive times.

    Figure 1 Creating SLA rules in a template

  4. (Optional) To create multiple rules, repeat 3. Up to five rules can be created for each SLA.
  5. Click Save to complete the SLA template creation. You can view the created SLA template on the SLAs page. To edit or delete an SLA template, locate the row that contains the SLA template, and click Edit or Delete.
  6. In the navigation pane, choose PerfTest Projects.
  7. Click the name of the desired project to go to the details page.
  8. In the Case List on the left, select the case for which the SLA rule is to be configured.
  9. Click the SLA Configuration tab, click the rectangle on the right of Import SLA Template, select the name of the created SLA template from the drop-down list, and import the SLA template.
  10. In the SLA Rules area, select one or more requests to which the SLA rules will be applied.

    You can also edit, delete, or add rules as required.

  11. Click Save to finish the SLA configuration.

Creating SLA Rules for a Test Case

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Click the name of the desired project to go to the details page.
  3. In the Case List on the left, select the case for which the SLA rule is to be configured.
  4. Click the SLA Configuration tab.
  5. Click Add Rule. On the Create Rule dialog box that is displayed, set the SLA rule by referring to Table 2 and click Confirm.

    Table 2 SLA rule parameters

    Parameter

    Description

    Rule Name

    This is used to identify a rule.

    Metric

    Three types of metrics are supported. CodeArts PerfTest will generate an alarm or stop a performance test when the metric reaches the specified threshold.

    • Average response time (RT)
    • Requests per second (RPS)
    • Success rate

    Thresholds

    Thresholds for triggering an alarm or stopping a performance test.

    For example, if you set the metric threshold for Stop Test to < 100 and 3 consecutive times, the test task will be stopped when the metric exceeds 100 for three consecutive times.

  6. In the Target Requests column, select one or more requests for each rule.
  7. (Optional) To create multiple rules, repeat 6 to 7. Up to five rules can be created for each SLA.
  8. Click Save to finish the SLA configuration.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback