Creates a test group.


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 headers

This operation uses only the common request headers. For more information, see Common request parameters.

Request syntax

POST /v4/openapi/app-groups/[appGroupIdentity]/scenes/[sceneId]/groups HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes my_app_group_name

The name of the application.

sceneId Integer Path No 20404

The ID of the test scenario.

Request body










The name of the test group.

Response parameters

Parameter Type Example Description
requestId String D77D0DAF-790D-F5F5-A9C0-133738165014

The ID of the request.

result Struct

The return result.

created Integer 1588839490

The time when the test group was created.

id String 13466

The ID of the test group.

name String Group_2020-5-7_15:23:3

The name of the test group.

status Integer 1

The status of the test group. Valid values:

  • 0: not in effect
  • 1: in effect
updated Integer 1588839490

The time when the test group was last modified.


Sample requests

POST /v4/openapi/app-groups/myappgroupname/scenes/20404/groups

    "name": "kevintest3"

Sample success responses

XML format


JSON format

    "result": {
        "created": 1588839490,
        "name": "Group_2020-5-7_15:23:3",
        "id": 13466,
        "updated": 1588839490,
        "status": 1
    "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014"

Error codes

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