Need advice on test priorities
|
02-21-2013, 09:34 PM
Post: #1
|
|||
|
|||
Need advice on test priorities
Hi Pat,
I'll shortly be setting up a private instance which will be used for frequent e.g. every 15mins, testing of live and integrated into CI processes too. I want to give the tests against live a higher priority than the CI tests and have been wondering about the best way to do this. Would you recommend I use API keys with different priorities or set the priority via the runtest.php parameter? Andy Using WebPageTest - http://usingwpt.com/ |
|||
02-22-2013, 07:07 AM
Post: #2
|
|||
|
|||
RE: Need advice on test priorities
It should be done automatically. By default API tests will get a priority of 5 and UI-submitted tests will get a priority of 0 (you can check your getLocations.php to see the different priority queues).
If you need more granular control (like to give big bulk tests an even lower priority) I usually do that explicitly from the app calling the API and pass it as a runtest.php parameter though using different keys would let you change them centrally without having to update any code. |
|||
02-22-2013, 08:55 PM
Post: #3
|
|||
|
|||
RE: Need advice on test priorities
Thanks, very helpful.
What I was going to do is set the monitoring tests as highest priority, UI submitted as medium, and the continuous integration tests as the lowest (though might swap the last two around depending on client preference) Andy Using WebPageTest - http://usingwpt.com/ |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)