测试计划 CODEARTS TESTPLAN-获取用例历史执行数据:响应参数

时间:2024-09-06 16:35:05

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

total_count

Integer

测试用例总数

project_id

String

测试服务id

testcase_id

String

测试用例id

testcase_name

String

测试用例名称

testcase_results

Array of TestcaseResult objects

测试用例结果集

表5 TestcaseResult

参数

参数类型

描述

execute_result_id

String

结果

execute_status

String

测试用例状态

failure_cause

String

失败原因

task_id

String

任务id

plan_id

String

测试计划id

start_time

String

开始时间

end_time

String

结束时间

executor_id

String

执行测试用例用户id

executor_name

String

执行测试用例用户name

状态码: 400

表6 响应Body参数

参数

参数类型

描述

error_code

String

接口调用失败错误码

error_msg

String

接口调用失败错误信息

状态码: 401

表7 响应Body参数

参数

参数类型

描述

error_code

String

接口调用失败错误码

error_msg

String

接口调用失败错误信息

状态码: 403

表8 响应Body参数

参数

参数类型

描述

error_code

String

接口调用失败错误码

error_msg

String

接口调用失败错误信息

状态码: 404

表9 响应Body参数

参数

参数类型

描述

error_code

String

接口调用失败错误码

error_msg

String

接口调用失败错误信息

状态码: 500

表10 响应Body参数

参数

参数类型

描述

error_code

String

接口调用失败错误码

error_msg

String

接口调用失败错误信息

support.huaweicloud.com/api-testman/ShowApiTestcaseHistories.html