Manual synthetic test/deploy
Using the SpeedCurve UI or API to kick off testing.
Your SpeedCurve sites and URLs are checked at various times throughout the day based on the scheduled times in your Settings. But sometimes you want to run a test immediately. For example, after you've pushed a code change or added new URLs to your Settings.
There are a few ways you can check your Sites immediately:
- 'Test Now' button - Some folks find it easier to just click on the 'Test Now' button in the SpeedCurve UI. You can find this button near the top of your Settings and Deploy dashboards.
- SpeedCurve CLI - You can use the
speedcurve deployto trigger deploys for your sites.
- Deploy API - You can use the SpeedCurve API to add a new deployment. This is easy to do using "curl" at the command-line.
Both methods kick off a round of tests and compare the results to the previous deployment tests, letting you assess your site right away.
How long do tests take?
When you use the API or 'Test Now' button we put your tests in a higher priority queue.
Since we're recording video and saving a whole heap of in depth information about each page load it takes around 2min for each individual test to complete. We spread the tests out over hundreds of agents so that we can run lots of concurrent tests and it means each round of testing kicked off by a deploy or 'Test Now' finishes in around 5 minutes.
If there are any issues with a test, we'll retry it. If there are any issues with the agent, we'll wait for up to an hour before finalising the round of testing. If you regularly find your testing stalls for up to an hour, then it's worth double checking any of your test scripts and contacting us on [email protected] to investigate further.
Updated 7 months ago