性能测试 CodeArts PerfTest-查询报告:URI

时间:2025-02-12 15:00:38

URI

GET /v1/{project_id}/task-run-infos/{task_run_id}/case-run-infos/{case_run_id}/reports

表1 路径参数

参数

是否必选

参数类型

描述

task_run_id

Integer

运行任务ID,即报告ID。启动任务(更新任务状态或批量启停任务)接口,会返回运行任务ID。

case_run_id

Integer

运行用例ID,报告管理中的“当前任务用例列表”接口,使用任务运行id(task_run_id)作为路径参数,可以查询到该报告关联的用例运行id集合,即返回结构体中result.case_aw_info_list[index].case_uri_i为索引为index的运行用例ID(case_run_id)。

project_id

String

项目ID,获取方式请参见获取项目ID

表2 Query参数

参数

是否必选

参数类型

描述

brokens_limit_count

Integer

曲线图点数

support.huaweicloud.com/api-cpts/ShowReport.html