Menanyakan laporan tugas pengujian stres.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DescribeBenchmarkTaskReport |
get |
*BenchmarkTask
|
None | None |
Sintaks permintaan
GET /api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID region tempat tugas pengujian stres dijalankan. |
cn-shanghai |
| TaskName |
string |
Yes |
Nama tugas pengujian stres. Untuk informasi lebih lanjut tentang cara menanyakan nama tugas pengujian stres, lihat ListBenchmarkTask. |
benchmark-larec-test-015d |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ReportType |
string |
No |
Tipe laporan tugas pengujian stres. Nilai yang valid: RAW dan Report. |
report |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
40325405-579C-4D82******** |
| ReportUrl |
string |
Jika nilai ReportType diatur ke Report, URL laporan pengujian stres akan dikembalikan. |
http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html |
| Data |
any |
Jika nilai ReportType diatur ke RAW, detail tentang laporan pengujian stres akan dikembalikan. |
{ "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" } ] } |
Contoh
Respons sukses
JSONformat
{
"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 }"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.