cloudtest__CreateTestCase
Create custom test cases in Huawei Cloud TestService using a name, project ID, and service ID, with optional test steps, expected results, priorities, and metadata.
Instructions
[CLOUDTEST] 创建自定义测试服务类型用例
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"project_id": "<project_id>",
"service_id": "<service_id>"
},
"name": "cloudtest__CreateTestCase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 页面上显示的用例名称,长度为[3-128]位字符 | |
| rank_id | No | 测试用例等级,可选值为[0,1,2,3,4],不填时默认为2 | |
| project_id | Yes | 项目唯一标识,固定长度32位字符 | |
| service_id | Yes | 该值由注册接口返回,取值范围为10-9999 | |
| extend_info | No | 测试用例其他扩展信息 | |
| testcase_number | No | 用例编号,不填该值时会自动生成,长度为[3-128]位字符 |