GetDataServiceApiTest

Updated at:

Retrieves the API test results.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

TestId

integer

Yes

The test ID. The TestDataServiceApi operation is executed asynchronously and returns a test ID. You can also call ListDataServiceApiTest to obtain recent test IDs.

123434

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The request ID.

adssd****

Data

object

The response object.

ApiId

integer

The ID of the tested API.

12343

ParamMap

string

The request parameters of the tested API.

{"name":"test"}

RetCode

integer

The return code of the tested API. If the task is not completed, this value is empty.

0

RetResult

string

The returned data.

{"id":2}

DebugInfo

string

The debug information.

[INFO] [16:15:13.240] resource group is 498774069027041[INFO]

CostTime

string

The execution duration.

10

NodesDebugInfo

string

The debug information for the nodes.

[INFO] [16:15:13.240] resource group is 498774069027041[INFO]

Status

string

The status of the test task. Valid values: RUNNING and FINISHED.

FINISHED

Examples

Success response

JSON format

{
  "RequestId": "adssd****",
  "Data": {
    "ApiId": 12343,
    "ParamMap": "{\"name\":\"test\"}",
    "RetCode": 0,
    "RetResult": "{\"id\":2}",
    "DebugInfo": "[INFO] [16:15:13.240] resource group is 498774069027041[INFO]",
    "CostTime": "10",
    "NodesDebugInfo": "[INFO] [16:15:13.240] resource group is 498774069027041[INFO]",
    "Status": "FINISHED"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.
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.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.