Queries the test results of an API in DataService Studio.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TestId | long | Yes | The Id of the test. TestDataServiceApi is executed asynchronously after the API is called and the test Id is returned. You can also use ListDataServiceApiTest to obtain the latest test Id. | 123434 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "adssdsewe",
"Data": {
"ApiId": 12343,
"ParamMap": "{\"name\":\"test\"}",
"RetCode": 0,
"RetResult": "{\"id\":2}",
"DebugInfo": "[<span style=\\\"color: #92D581;\\\">INFO</span>] [16:15:13.240] resource group is 498774069027041[<span style=\\\"color: #92D581;\\\">INFO</span>]",
"CostTime": "10",
"NodesDebugInfo": "[<span style=\\\"color: #92D581;\\\">INFO</span>] [16:15:13.240] resource group is 498774069027041[<span style=\\\"color: #92D581;\\\">INFO</span>]",
"Status": "FINISHED"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | - |
429 | Throttling.System | The DataWorks system is busy. Try again later. | - |
429 | Throttling.User | Your request is too frequent. Try again later. | - |
500 | InternalError.System | An internal system error occurred. Try again later. | - |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-05-30 | Add Operation | View Change Details |