RunSmokeTest
Creates a smoke test workflow by calling the RunSmokeTest operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The environment of the workspace. Valid values:
Workspaces in basic mode do not have a development environment. For more information, see Basic mode and standard mode. Valid values:
|
PROD |
| Bizdate |
string |
Yes |
The business date. The format is |
2020-05-26 00:00:00 |
| Name |
string |
Yes |
The name of the workflow. |
xm_create_test |
| NodeId |
integer |
Yes |
The ID of the node. You can call the ListNodes operation to obtain the node ID. Full retrieval path: first call ListProjects to obtain the ProjectId, then call ListNodes, and obtain the node ID from Data.Nodes[].NodeId. |
1234 |
| NodeParams |
string |
No |
The parameters of the node. This parameter is configured as a JSON string. The key is the node ID, and the value is the actual parameter value. |
bizdate=$bizdate tbods=$tbods |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
integer |
The ID of the workflow. |
3333333 |
| ErrorMessage |
string |
The error message. |
The connection does not exist. |
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
E6F0DBDD-5AD**** |
| ErrorCode |
string |
The error code. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Indicates whether the call was successful. |
false |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": 3333333,
"ErrorMessage": "The connection does not exist.",
"RequestId": "E6F0DBDD-5AD****",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.