Test

Retrieve a set of latest test versions by query and branch

Changed on

Used to query tests. The secondary filters (include_labels, exclude_labels, include_test_case_ids, author_id, application_id, name) are applied in memory after the workspace's tests are fetched and combine as a logical AND, so when any of them is supplied the endpoint returns up to limit matching tests from a full scan and the returned cursor reflects that underlying scan rather than the filtered set. test_type is different: it is applied at the datastore layer via the test-type index (so a type-only query is a seek, not a full scan) and combines as a logical AND with the in-memory filters. credentials_id takes a separate path: it takes precedence over and is mutually exclusive with all other filters — supplying it together with name returns 400 rather than silently ignoring name.

get/test/journeys

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/test/journeys
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Query parameters

organization_idstring required

The organization id to query

include_labelsstring[]

at least one label must be matched, if supplied, otherwise all tests considered

exclude_labelsstring[]

any matching labels will exclude entity from matching, if supplied, otherwise all tests considered

include_test_case_idsstring[]

at least one id must be matched, if supplied

branchstring

mabl branch to retrieve tests for

branch_changes_onlyboolean

Run ONLY tests MODIFIED on above mabl branch

author_idstring

filter results by mabl user ID of author

credentials_idstring

filter results to tests whose latest version references this credentials id

application_idstring

filter results to tests whose training application is this application id

test_typestring

filter results to tests of this type (browser, api, performance, or mobile); applied at the datastore layer via the test-type index

limitinteger

The limit to use for pagination

cursorstring

The cursor to use for pagination

namestring

Return only tests whose name equals this value, ignoring case and surrounding whitespace. This is one of the in-memory filters, so it returns up to limit matches and the returned cursor reflects the underlying scan rather than the filtered set. Cannot be combined with credentials_id (returns 400).

Response

Array of tests matching the query

cursorstring

Cursor used for pagination

Changes

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the new optional query request parameter name