List Test Suites

API Explorer: /multi-tests

To return a list of created test suites, a projectId or a workspaceId and a platform attribute is required. The sample code returns a list for test suites with a workspaceId of 123456 and a platform of functional. Use the actual ID values for the project or workspace to return the list of its test suites. Use the actual ID values for the project or workspace and platform value to return the list of its tests.

Additional tests for the specified criteria would be contained after the 2345678 listing.

List Test Suites

curl 'https://a.blazemeter.com/api/v4/mulit-tests?workspaceId=123456&platform=functional' \
    --user 'api_key_id:api_key_secret'

List Tests Parameters

All timestamps are in UNIX Epoch time.

Parameters

  • projectId integer

    required

    The projectId you are wanting to get the list of test suites from

  • workspaceId integer

    required

    The workspaceId you are wanting to get the list of test suites from

  • name string

    The unique string for a test suite name to search for. For example, the string My Test will pull all results with this string in the name of the test suite

  • platform string

    The platform of test suites to search for. This will always be functional for test suites


Also see: Pagination and Sorting

List Test Suites Response Attributes

For the all the supported attributes, see the The Multi-Test Object.

Response200 OK


{
    "limit": 10,
    "skip": 0,
    "total": 5,
    "hidden": 0,
    "api_version": 4,
    "error": null,
    "result": [
        {
            "id": 12345678,
            "name": "June_12_3:40 PM - Functional Suite Test",
            "collectionType": "functionalTestSuite",
            "userId": 123456,
            "items": [],
            "lastRunTime": 1591995514,
            "created": 1591994426,
            "updated": 1592837282,
            "creatorClientId": "gui",
            "testsForExecutions": [
                {
                    "testId": 1234567,
                    "executions": [
                        {
                            "concurrency": 1,
                            "iterations": 1,
                            "locations": {
                                "harbor-5b0323b3c648be3b4c7b23c8": 1
                            },
                            "locationsWeighted": true,
                            "testId": 1234567,
                            "scenario": "My Scenario"
                        }
                    ],
                    "overrideExecutions": [
                        {
                            "iterations": 1,
                            "executor": "taurus"
                        }
                    ]
                },
                {
                    "testId": 2345678,
                    "executions": [
                        {
                            "concurrency": 1,
                            "locations": {
                                "harbor-5e0e68b9568b27689176f3b4": 1
                            },
                            "locationsWeighted": true,
                            "executor": "selenium",
                            "testId": 2345678,
                            "capabilities": {
                                "browserName": "chrome",
                                "browserVersion": "69",
                                "blazemeter_videoEnabled": true
                            },
                            "scenario": "Scenario 1"
                        }
                    ],
                    "overrideExecutions": [
                        {
                            "locations": {
                                "harbor-5e0e68b9568b27689176f3b4": 1
                            },
                            "executor": "selenium",
                            "invalid": true,
                            "capabilities": {
                                "browserName": "chrome",
                                "browserVersion": "69",
                                "blazemeter_videoEnabled": true
                            },
                            "scenario": "default-scenario"
                        }
                    ]
                }
            ],
            "shouldSendReportEmail": false,
            "projectId": 123456,
            "filesToSplit": [],
            "dataFiles": []
        },
        {
            "id": 12345678,
            "name": "June_12_3:40 PM - Functional Suite Test - Copy",
            "collectionType": "functionalTestSuite",
            "userId": 123456,
            "items": [],
            "created": 1591995338,
            "updated": 1592837282,
            "creatorClientId": "gui",
            "testsForExecutions": [
                {
                    "testId": 1234567,
                    "executions": [
                        {
                            "concurrency": 1,
                            "iterations": 1,
                            "locations": {
                                "harbor-5b0323b3c648be3b4c7b23c8": 1
                            },
                            "locationsWeighted": true,
                            "testId": 1234567,
                            "scenario": "My Scenario"
                        }
                    ],
                    "overrideExecutions": [
                        {
                            "iterations": 1,
                            "executor": "taurus"
                        }
                    ]
                },
                {
                    "testId": 2345678,
                    "executions": [
                        {
                            "concurrency": 1,
                            "locations": {
                                "harbor-5e0e68b9568b27689176f3b4": 1
                            },
                            "locationsWeighted": true,
                            "executor": "selenium",
                            "testId": 2345678,
                            "capabilities": {
                                "browserName": "chrome",
                                "browserVersion": "69",
                                "blazemeter_videoEnabled": true
                            },
                            "scenario": "Scenario 1"
                        }
                    ],
                    "overrideExecutions": [
                        {
                            "locations": {
                                "harbor-5e0e68b9568b27689176f3b4": 1
                            },
                            "executor": "selenium",
                            "invalid": true,
                            "capabilities": {
                                "browserName": "chrome",
                                "browserVersion": "69",
                                "blazemeter_videoEnabled": true
                            },
                            "scenario": "default-scenario"
                        }
                    ]
                }
            ],
            "shouldSendReportEmail": false,
            "projectId": 123456,
            "filesToSplit": [],
            "dataFiles": []
        },

        ...
    ],
    "request_id": "5ef0e7cd3c885"
}