Active Masters in Workspace

Active Masters in Workspace

curl 'https://a.blazemeter.com/api/v4/workspaces/123456/active' \
    --user 'api_key_id:api_key_secret'

API Explorer: /workspaces//active

To return the list of active masters (test runs), a workspaceId is required. The sample code returns the list of active masters of the workspace with workspaceId of 123456. Use the actual ID value for the workspace to return the list of active masters of your workspace.

If you do not know the workspaceId of the workspace, use List Workspaces to return a list of your workspaces.

Active Masters in Workspace Parameters

Parameters

  • platform string

    The platform of tests to search for. This can be one of the following:
    functional - Shows all the related items exclusive to the Functional tab performance - Shows all the related items exclusive to the Performance tab

Active Masters in Workspace Response Attributes

Response200 OK

{
    "api_version": 4,
    "error": null,
    "result": {
        "activeTestsInWorkspace": 3,
        "activeTestsInAccount": 3,
        "activeTestLeftToRun": null
    },
    "request_id": "5eeb98988ab07"
}

Attributes

  • activeTestsInWorkspaceinteger

    The number of active tests in the given workspace

  • activeTestsInAccountinteger

    The number of active tests in the account for the given workspace

  • activeTestLeftToRunnull

    The list of tests left waiting to run