查看指定壓測任務的報告。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
下表是API對應的授權信息,可以在RAM權限策略語句的Action
元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:
- 操作:是指具體的權限點。
- 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀?。≧ead)或列出(List)。
- 資源類型:是指操作中支持授權的資源類型。具體說明如下:
- 對于必選的資源類型,用背景高亮的方式表示。
- 對于不支持資源級授權的操作,用
全部資源
表示。
- 條件關鍵字:是指云產品自身定義的條件關鍵字。
- 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作 | 訪問級別 | 資源類型 | 條件關鍵字 | 關聯操作 |
---|---|---|---|---|
eas:DescribeBenchmarkTaskReport | get |
|
| 無 |
請求語法
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 |
返回參數
示例
正常返回示例
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 }"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 |
---|
暫無變更歷史