Testery REST API Resources

A description of the available Testery REST API end points.

Test Run Details

Get Single Test Run

GET https://api.testery.io/test-runs/:id

Returns a single test run by id.

Path Parameters

NameTypeDescription

id

string

ID of the cake to get, for free of course.

Headers

NameTypeDescription

Authorization

string

Set to "Bearer <yourApiToken>". See [[Finding Your API Token]].

{
  "id": 55676,
  "name": "...",
  "testName": null,
  "key": "ABCDABCD75349414053EB9961013126945472A93",
  "startTime": "2020-05-04 23:16:33+0000",
  "endTime": "2020-05-04 23:22:59+0000",
  "createTime": "2020-05-04 23:15:10+0000",
  "accountId": 123,
  "projectId": 123,
  "status": "PASS",
  "copies": 1,
  "passCount": 30,
  "failCount": 0,
  "ignoredCount": 0,
  "codeCoverageName": null,
  "codeCoverageVersion": null,
  "codeCoveragePercentage": null,
  "codeCoverageTotalStatements": null,
  "codeCoverageCoveredStatements": null,
  "totalTestingTime": 1036000,
  "isSchedule": null,
  "totalCount": 30,
  "gitRef": "abcd4e87d8d928a21a393b0def6ab0c0a21d35a2",
  "buildKey": "23",
  "environment": "dev",
  "statusInfo": null,
  "includeTags": [],
  "complete": true
}

List of Test Runs

Get List of Test Runs

GET https://api.testery.io/test-runs?offset=##&limit=##

Returns the list of test runs. Be sure to specify an offset and limit as these are required parameters.

Query Parameters

NameTypeDescription

offset*

int

The starting index for which test run to return. This index starts with 0 and should increment by the limit for each page.

limit*

int

The number of test runs to return in each call.

Headers

NameTypeDescription

Authorization

string

Set to "Bearer <yourApiToken>". See [[Finding Your API Token]].

{
  "id": 55676,
  "name": "...",
  "testName": null,
  "key": "ABCDABCD75349414053EB9961013126945472A93",
  "startTime": "2020-05-04 23:16:33+0000",
  "endTime": "2020-05-04 23:22:59+0000",
  "createTime": "2020-05-04 23:15:10+0000",
  "accountId": 123,
  "projectId": 123,
  "status": "PASS",
  "copies": 1,
  "passCount": 30,
  "failCount": 0,
  "ignoredCount": 0,
  "codeCoverageName": null,
  "codeCoverageVersion": null,
  "codeCoveragePercentage": null,
  "codeCoverageTotalStatements": null,
  "codeCoverageCoveredStatements": null,
  "totalTestingTime": 1036000,
  "isSchedule": null,
  "totalCount": 30,
  "gitRef": "abcd4e87d8d928a21a393b0def6ab0c0a21d35a2",
  "buildKey": "23",
  "environment": "dev",
  "statusInfo": null,
  "includeTags": [],
  "complete": true
}

Last updated