- Getting Started with Selenium for Automated Website Testing
- Getting Started with Appium for Mobile Native Application Testing
- Selenium Bootcamp by Dave Haeffner
- Appium Bootcamp by Dave Haeffner and Matthew Edwards
To stop tests from timing out when you're already using all your Sauce Labs parallel slots, you need to limit the number of threads.
The Sauce Labs Parallelized JUnit runner uses the
junit.parallel.threads System property to control how many threads it runs. You can set this by updating the
<threadcount> in your Maven
pom.xml file, as shown in the example. Similarly, if you were using Ant as your project comprehension tool, you would update the
<threadCount> attribute in your Parallel task.
Match Thread Count to Concurrency Limit
You should match your thread count to your concurrency limit, which is shown in the My Account section of your user profile information on the Sauce Labs dashboard.