文档

DescribeBenchmarkTaskReport - 查看压测任务测试报告

更新时间:

查看指定压测任务的报告。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
eas:DescribeBenchmarkTaskReportRead
  • BenchmarkTask
    acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}

请求语法

GET /api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report

请求参数

名称类型必填描述示例值
ClusterIdstring

压测任务所在区域。

cn-shanghai
TaskNamestring

压测任务名称。如何获取压测任务名称,请参见 ListBenchmarkTask

benchmark-larec-test-015d
ReportTypestring

报告类型,支持配置 RAW 和 Report。

report

返回参数

名称类型描述示例值
object

返回结果。

RequestIdstring

请求 ID。

40325405-579C-4D82********
ReportUrlstring

当 ReportType 为 Report 时,返回压测报告的下载地址。

http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html
Dataany

当 ReportType 为 RAW 时,返回压测报告的详细数据。

{ "TimestampList": ["int64"], "QPSList": ["float32"], "RTList": [ { "AVG": "float32", "TP100": "float32", "TP99": "float32", "TP90": "float32", "TP50": "float32", "TP10": "float32" } ], "TrafficList": [ { "Send": "float64", "Receive": "float64" } ], "StatusCode": { "200": "uint64", "450": "uint64", "500": "uint64" }, "Count": "uint64", "Total": "float64", "MinRT": "float32", "AvgRT": "float32", "MaxRT": "float32", "QPS": "float32", "TotalSend": "float64", "TotalReceive": "float64", "RTDistribution": [ { "Latency": "float32", "Percentage": "int" } ], "RTHistogram": [ { "Count": "int", "Mark": "float32", "Frequency": "float32" } ] }

示例

正常返回示例

JSON格式

{
  "RequestId": "40325405-579C-4D82********",
  "ReportUrl": "http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html",
  "Data": "{\n    \"TimestampList\": [\"int64\"],\n    \"QPSList\": [\"float32\"],\n    \"RTList\": [\n      {\n        \"AVG\": \"float32\",\n        \"TP100\": \"float32\",\n        \"TP99\": \"float32\",\n        \"TP90\": \"float32\",\n        \"TP50\": \"float32\",\n        \"TP10\": \"float32\"\n      }\n    ],\n    \"TrafficList\": [\n      {\n        \"Send\": \"float64\",\n        \"Receive\": \"float64\"\n      }\n    ],\n    \"StatusCode\": {\n      \"200\": \"uint64\",\n      \"450\": \"uint64\",\n      \"500\": \"uint64\"\n    },\n    \"Count\": \"uint64\",\n    \"Total\": \"float64\",\n    \"MinRT\": \"float32\",\n    \"AvgRT\": \"float32\",\n    \"MaxRT\": \"float32\",\n    \"QPS\": \"float32\",\n    \"TotalSend\": \"float64\",\n    \"TotalReceive\": \"float64\",\n    \"RTDistribution\": [\n      {\n        \"Latency\": \"float32\",\n        \"Percentage\": \"int\"\n      }\n    ],\n    \"RTHistogram\": [\n      {\n        \"Count\": \"int\",\n        \"Mark\": \"float32\",\n        \"Frequency\": \"float32\"\n      }\n    ]\n  }"
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈