Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Required

Type

Description

length

No

int

Number of records to return. Default is 10

start

No

int

Start index. Default is 0

Get scenarios executions

Server:

GET /rest/assertthat/latest/project/{projectId}/client/scenarios/report/executions

Parameters

Name

Required

Type

Description

length

No

int

Number of records to return. Default is 10

start

No

int

Start index. Default is 0

Upload scenario executions

Cloud:

POST /rest/api/1/project/{projectId}/scenarios/execution

Body:

Code Block
 {
            "scenarioName": "Exanple scenario",
            "featureName": "Example feature",
            "executions": [
                {
                    "id": 100,
                    "status": "PASSED",
                    "issueKey": "DEMO-1",
                    "comment": "Example comment",
                    "userId": 10000,
                    "userEmail": "admin@admin.com",
                    "timestamp": 1624908743000
                },
                {
                    "id": 101,
                    "status": "IN_PROGRESS",
                    "issueKey": "DEMO-1",
                    "comment": "Example comment 2",
                    "userId": 10000,
                    "userEmail": "admin@admin.com",
                    "timestamp": 1624908812000
                }
            ]
        }