根据测试报告URI获取测试报告质量属性评估列表 - ShowTestReportQualityAttributes
功能介绍
此接口用于根据测试报告URI获取测试报告质量属性评估列表,同页面 测试 -> 测试质量评估 -> 查看报告
调用方法
请参见如何调用API。
URI
GET /v4/{project_id}/versions/{version_uri}/test-reports/{report_uri}/quality-attributes
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
project_id |
是 |
String |
项目UUID,项目唯一标识,固定长度32位字符(字母和数字)。获取方式请参见获取项目ID。 |
|
version_uri |
是 |
String |
计划uri |
|
report_uri |
是 |
String |
测试报告Uri |
请求参数
无
响应参数
状态码:200
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
total |
Integer |
符合条件的所有记录数 |
|
page_size |
Integer |
每页展示条数 |
|
page_no |
Integer |
页码 |
|
has_more |
String |
是否有更多 |
|
value |
Array of TestReportQualityAttributesVo objects |
请求返回的数据 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
uri |
String |
uri |
|
test_report_uri |
String |
测试报告uri |
|
test_type |
Integer |
参数解释: 测试类型 取值范围:
|
|
conclusion |
String |
测试结论 |
状态码:400
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 不涉及 |
|
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 不涉及 |
状态码:401
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 不涉及 |
|
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 不涉及 |
状态码:404
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 不涉及 |
|
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 不涉及 |
状态码:500
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 不涉及 |
|
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 不涉及 |
请求示例
get https://{endpoint}/v4/a5eb0d410ea341a192f7c12483568985/versions/v90100010gpop33g/test-reports/v90700010hbng8jo/quality-attributes?_=1750240144168
响应示例
状态码:200
OK
{
"value" : [ {
"uri" : "v90700010hbngaqa",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 1
}, {
"uri" : "v90710hbngaqasub",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 4
}, {
"uri" : "v90710hbngaqasuc",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 2
}, {
"uri" : "v90710hbngaqasud",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 15
}, {
"uri" : "v90710hbngaqasue",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 22
}, {
"uri" : "v90710hbngaqasuf",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 14
}, {
"uri" : "v90710hbngaqasug",
"test_report_uri" : "v90700010hbng8jo",
"test_type" : 21
} ]
}
状态码
|
状态码 |
描述 |
|---|---|
|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server Error |
错误码
请参见错误码。