v1

latestOpenAPI 3.1.02026-07-22106199311.5 KB
Test Execution

List Test Executions

Returns a list of summarised test executions. The list is ordered by the start time of the execution, with the most recent execution first. It can be paginated by providing a paginationToken query parameter obtained from a previous response.

get/v1/test-executions

Query parameters

projectIdstring

Filter results to test executions belonging to this project.

paginationTokenstring

Token to fetch the next batch of results for a previous query.

limitinteger

The maximum number of results to return (capped at 100).

testNamestring

Search against test name, with case-insensitive partial matching.

environmentNamestring

Filter results to test executions within this environment.

startedAfterstring date-time

Filter results to test executions started at or after this moment.

startedBeforestring date-time

Filter results to test executions started at or before this moment.

timeFramestring

Filter results to test executions that started within this time frame, relative to now. Accepts an ISO-8601 duration string in the PnDTnHnMnS format, using days, hours, minutes and/or seconds, e.g. P1D, P7D, PT1H, PT30M, PT90S. Week, month and year units (P1W, P1M, P1Y) are not supported — use the day-based equivalents P7D, P30D and P365D instead.

status'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLING' | 'CANCELLED' | 'FORBIDDEN' | 'SKIPPED' | 'UNKNOWN'

Filter results to test executions which have the status of one of the provided values.

Response

Test executions returned successfully

morestring

Token for fetching the next batch of results for this query; if omitted then there are no more.

Example response

{
  "results": [
    {
      "environmentName": "Dev",
      "message": "\"Rewrite Table\": Success",
      "projectId": "4a8a6162-702b-4efc-b2ec-c986e0bc95e4",
      "scheduleId": "9e2a6b04-ddd7-4bb4-b7dc-56e3b6f3ed43",
      "status": "RUNNING",
      "testExecutionId": "fd05a6c4-b3e1-4441-86a2-044d5092731d",
      "testName": "My Test",
      "trigger": "SCHEDULE",
      "user": "A User"
    }
  ]
}