Creates a workflow to perform smoke testing.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RunSmokeTest

The operation that you want to perform.

Bizdate String Yes 2020-05-26 00:00:00

The data timestamp.

Name String Yes xm_create_test

The name of the workflow.

NodeId Long Yes 1234

The ID of the node. You can call the ListNodes operation to obtain the ID.

ProjectEnv String Yes PROD

The environment of the workspace. Valid values: PROD and DEV. The value PROD indicates the production environment. The value DEV indicates the development environment.

RegionId String Yes cn-shanghai

The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint used to call the operation.

NodeParams String No bizdate=$bizdate param1=demo1 param2=demo2

The parameters related to the node.

Response parameters

Parameter Type Example Description
Data Long 3333333

The ID of the workflow.

ErrorCode String Invalid.Tenant.ConnectionNotExists

The error code returned.

ErrorMessage String The connection does not exist.

The error message returned.

HttpStatusCode Integer 200

The HTTP status code returned.

RequestId String E6F0DBDD-5AD****

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

Success Boolean false

Indicates whether the request is successful.


Sample requests

&Bizdate=2020-05-26 00:00:00
&<Common request parameters>

Sample success responses

XML format

<ErrorMessage>The connection does not exist.</ErrorMessage>

JSON format

    "RequestId": "E6F0DBDD-5AD****",
    "HttpStatusCode": 200,
    "Data": 3333333,
    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
    "ErrorMessage": "The connection does not exist.",
    "Success": false

Error codes

For a list of error codes, visit the API Error Center.