cloudtest__ListAllTestCases
Retrieve and filter test cases in a Huawei Cloud CloudTest project by module, status, owner, iteration, and related issue to support test planning and execution.
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": {
"project_id": "<project_id>"
},
"name": "cloudtest__ListAllTestCases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| own | No | 是否是我的 | |
| keyword | No | 关键字查询,用例名或编号 | |
| page_no | No | 当前页数 | |
| issue_id | No | 需求编号 | |
| rank_ids | No | 用例等级ID集合 | |
| task_uri | No | 测试套uri | |
| case_type | No | 用例类型 | |
| case_uris | No | 用例URI集合 | |
| label_ids | No | 标签ID集合 | |
| owner_ids | No | 处理者ID集合 | |
| page_size | No | 每页条数 | |
| sort_type | No | 排序方式 | |
| useOffset | No | ||
| is_keyword | No | 是否组合关键字 | |
| module_ids | No | 模块ID集合 | |
| project_id | Yes | 项目ID,固定长度32位字符(字母和数字)。 | |
| sort_field | No | 排序字段 | |
| stage_type | No | 阶段过程(2:测试设计,3:测试执行,4:质量报告) | |
| test_types | No | 类型 | |
| creator_ids | No | 创建者ID集合 | |
| feature_uri | No | 目录URI | |
| version_uri | No | 版本URI | |
| executor_ids | No | 执行者ID集合 | |
| exeplatforms | No | 执行平台 | |
| result_codes | No | 结果Code集合 | |
| service_type | No | 服务类型 | |
| status_codes | No | 状态Code集合 | |
| test_designs | No | 是否来自测试设计(null或者[true, false]:不限,[true]:来自测试设计,[false]:否来自测试设计) | |
| iteration_ids | No | 归属迭代ID集合 | |
| review_status | No | 用例评审状态 | |
| service_types | No | 服务类型集合 | |
| create_end_time | No | 创建结束时间 | |
| not_assign_task | No | 该字段为false,则查询全量用例,为true表示查询未分配测试套的用例 | |
| associated_issue | No | 是否关联需求(null:不限,false:未关联,true:已关联) | |
| execute_end_time | No | 执行结束时间 | |
| create_start_time | No | 创建开始时间 | |
| custom_field_info | No | 用例自定义字段信息 | |
| include_sub_issue | No | 是否查询子需求关联的用例,默认true | |
| issue_tree_search | No | 是否是需求树点击的查询关联用例 | |
| associated_defects | No | 是否关联缺陷(null:不限,false:未关联,true:已关联) | |
| execute_start_time | No | 执行开始时间 | |
| include_sub_feature | No | 是否查询子目录的用例,默认true | |
| associate_issue_detail | No | 是否返回需求具体信息(返回需求名称,需求id) |