Skip to main content

List Uploaded Test-Suites

You can use the REST API to fetch a list of your recently uploaded test-suites and its details such as test_url, custom ID, shareable ID and the upload timestamp for each test-suite.

List recent uploads

Here is an example API request to retrieve details about your recent test-suite uploads.

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" -X GET "https://api-cloud.browserstack.com/app-automate/xcuitest/test-suites"

Sample response:

[
    {
        "test_suite_name": "BrowserStack-SampleXCUITest.zip",
        "test_suite_url": "bs://c36419473b219c99dbe91b2d1aee0d52943b9c",
        "test_suite_id": "c36419473b219c99dbe91b2d1aee0d52943b9c",
        "uploaded_at": 1578302083,
        "custom_id": "MyTestSuite",
        "framework": "xcuitest"
    },
  {
        "test_suite_name": "app-debug.zip",
        "test_suite_url": "bs://dr4543b219c99dbe91b2d1ae943er56",
        "test_suite_id": "dr4543b219c99dbe91b2d1ae943er56",
        "uploaded_at": 1578302543,
        "custom_id": "mytestsuite",
        "framework": "xcuitest"
    }
    ....
]

Get test-suite info

Here is a sample API request to retrieve details about your recent test-suite upload for an example test_url “c36419473b219c99dbe91b2d1aee0d52943b9c”:

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY"  -X GET "https://api-cloud.browserstack.com/app-automate/espresso/test-suites/c36419473b219c99dbe91b2d1aee0d52943b9c"

Sample response:

{
    "test_suite_name": "app-debug-androidTest.apk",
    "test_suite_url": "bs://c36419473b219c99dbe91b2d1aee0d52943b9c",
    "test_suite_id": "c36419473b219c99dbe91b2d1aee0d52943b9c",
    "uploaded_at": 1578302083,
    "custom_id": "MyTestSuite",
    "framework": "xcuitest"
}

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert