Skip to content

获取用例的一条执行历史​

GET
/v2/testhub/testcases/{testcase_id}/histories/{history_id}
  • 用于按 id 获取用例的一条执行历史全量信息。

授权

企业令牌
企业令牌获取流程
令牌 URLhttps://{rest_api_root}/v1/auth/token
作用域
  • pcp:write:testhub:testcase
或
用户令牌
用户令牌获取流程
授权 URLhttps://{oauth2_root}/authorize
令牌 URLhttps://{rest_api_root}/v1/auth/token
作用域
  • pcp:write:testhub:testcase

参数​

路径参数

testcase_id*

测试用例的 id。

类型
string
必填
history_id*

执行历史的 id。

类型
string
必填

响应​

响应示例:

application/json

执行历史的 id。

执行历史的资源地址。

执行用例的引用结构数据。

所属测试库的引用结构数据。

所属测试计划的引用结构数据。

关联测试用例的引用结构数据。

执行时间,单位为秒。

执行人的引用结构数据。

执行步骤列表。

执行结果的引用结构数据。

执行备注。

示例​

举报邮箱:abuse@worktile.com