WebPagetest Forums
Increase "navigate" steps in private instance - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Increase "navigate" steps in private instance (/showthread.php?tid=14160)



Increase "navigate" steps in private instance - kzarifis - 01-14-2016 10:45 AM

Hi,

I think scripts are limited to 20 navigate steps to avoid overloading/DOS on public instances. Is there a way to set it to a custom value on private instances?

Thanks


(for context, I'm trying to do:
{
clearCache
navigate urlA
navigate urlB
clearCache
navigate urlC
}
N consecutive times, and I haven't figured a way to clear the cache between runs in Bulk mode, so I'm trying to do these repeats through a script)


RE: Increase "navigate" steps in private instance - pmeenan - 01-21-2016 12:08 AM

It is hard-coded in runtest.php (in the validateScript function): https://github.com/WPO-Foundation/webpagetest/blob/master/www/runtest.php#L1290

As far as bulk testing goes, it behaves just like a bunch of separate tests so the cache will be cleared before each URL in the list. You should be able to split your tests everywhere you have a clearCache command.