查看指定壓測任務的報告。
調試
您可以在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 }"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。