查看指定压测任务的报告。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
eas:DescribeBenchmarkTaskReport |
get |
*BenchmarkTask
|
无 | 无 |
请求语法
GET /api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ClusterId |
string |
是 |
压测任务所在地域 ID。 |
cn-shanghai |
| TaskName |
string |
是 |
压测任务名称。如何获取压测任务名称,请参见 ListBenchmarkTask 。 |
benchmark-larec-test-015d |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ReportType |
string |
否 |
报告类型,支持配置 RAW 和 Report。 |
report |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
40325405-579C-4D82******** |
| ReportUrl |
string |
当 ReportType 为 Report 时,返回压测报告的下载地址。 |
http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html |
| Data |
any |
当 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 }"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。