测试用例列表
接口描述
中文:测试用例列表
英文:DescribeTestCaseList
输入参数
参数名称 | 必选 | 类型 | 描述 |
---|---|---|---|
Action | 是 | String | 公共参数,本接口取值:DescribeTestCaseList |
AccessToken | 是 | String | 公共参数,AccessToken |
ProjectName | 是 | String | 项目名称 |
Keyword | 否 | String | 关键字搜索 |
SectionId | 否 | Integer | 分组 ID |
TemplateType | 否 | String | 用例类型 |
Priority | 否 | Integer | 优先级 |
输出参数
参数名称 | 类型 | 描述 |
---|---|---|
Data.Cases | Array of Case | 用例列表 |
RequestId | String | 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 |
示例
输入示例
{
"Action":"DescribeTestCaseList",
"Authorization":"token",
"ProjectName":"2",
"caseId":51,
"keyword":"22"
}
输出示例
{
"Response": {
"Data": {
"Cases": [
{
"Id": 53.0,
"SectionId": 1.0,
"Priority": 2.0,
"Title": "helel22",
"TemplateType": "STEPS",
"Preconds": "preconds",
"Steps": null,
"Expected": null,
"CustomSteps": [
{
"Content": "expected",
"Expected": "steps"
},
{
"Content": "11",
"Expected": "11"
}
],
"Sort": 3.0,
"CreatedBy": 1.0,
"CreatedAt": "2020-09-15 15:32:59",
"UpdatedAt": "2020-09-15 15:35:28"
}
]
},
"RequestId": "b18a050b-7530-a56b-cb37-98831ef3cf6c"
}
}

感谢反馈有用
感谢反馈没用