Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Stop a running Espresso test build

Force stop a running Espresso build on BrowserStack App Automate, either from the App Automate dashboard or by sending a request to the REST API.

If a test run stops due to a crash, you can stop the build from running by clicking the Stop build option from the App Automate dashboard.

Stop a build

It takes some time for the build to stop completely after you click Stop build.

Stop a build using the REST API

To stop a running build from your command line or CI pipeline, send a request to the stop builds API with the ID of the build you want to stop. Replace <build_id> with the build_id returned when you executed the build.

Terminal
Copy icon Copy

You can stop a build only while it’s running. Stopping is asynchronous, so the build status stays running until all its sessions stop. If you send another stop request during this time, the response is Build is already being stopped. After the build stops, a stop request returns a 422 error.

Use fail fast to stop a build automatically once a specified number of tests fail, instead of stopping it manually.

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
Download Copy Check Circle