TestRun

Retrieve last n test runs for each of the specified tests

Retrieve the last n test runs for each test in the provided list of test invariant ids within a workspace. Test ids that do not belong to the workspace are omitted from the response. Scoped to a single page of the Tests list so the client does not have to fetch the whole workspace.

post/testRuns/workspace/{workspace_id}/byTestIds

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/testRuns/workspace/{workspace_id}/byTestIds
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

workspace_idstring required

The workspace ID the tests belong to

Request body

test_idsstring[] required

The test IDs (invariant or variant) to fetch recent runs for

max_runs_per_testinteger required

Max number of runs per test

Response

History of test runs for the specified tests

cursorstring

The cursor to use to continue paging

Changes

No recorded changes to this operation across all 37 revisions of this API.