List of recently uploaded test suites in App Automate
Fetch a list of your recently uploaded test suites and their details such as test URL, custom ID, and upload timestamp using the REST API in App Automate.
The App Automate REST API returns every test suite you have uploaded, most recent first. Use it to confirm a test_url, look up a custom ID or shareable ID, or check when a suite was last uploaded before you trigger a build.
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/xcuitest/test-suites/c36419473b219c99dbe91b2d1aee0d52943b9c"
Sample response:
{
"test_suite_name": "SampleXCUITests.zip",
"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
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!