All Products
Search
Document Center

Platform For AI:DescribeBenchmarkTaskReport

Last Updated:Nov 22, 2024

Queries the report of a stress testing task.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
eas:DescribeBenchmarkTaskReportget
*BenchmarkTask
acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}
    none
none

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The ID of the region where the stress testing task is performed.

cn-shanghai
TaskNamestringYes

The name of the stress testing task. For more information about how to query the name of a stress testing task, see ListBenchmarkTask .

benchmark-larec-test-015d
ReportTypestringNo

The report type of the stress testing task. Valid values: RAW and Report.

report

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

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

If the value of ReportType is set to Report, the URL of the stress testing report is returned.

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

If the value of ReportType is set to RAW, the details about the stress testing report are returned.

{ "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" } ] }

Examples

Sample success responses

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  }"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history