WebPagetest Forums
How to set cookies ? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: How to set cookies ? (/showthread.php?tid=786)



How to set cookies ? - djash01 - 05-27-2011 05:09 PM

I am trying to speed test a page which can be accessed after login. How do I set the cookies so that webpagetest can test that page ?

Also, any way I can do load testing using this site ?

Thank you


RE: How to set cookies ? - pmeenan - 05-27-2011 11:17 PM

Sorry, we don't have the capacity to drive load. For that, Browser Mob is a great option to look at.

For testing the authenticated site you need to use a script (advanced settings->script). There is a ling to the docs but I can also help. Setting the cookie usually works by watching the site cookies in something like firebug when you manually browse the site and then use the "setCookie" script command to clone the cookies.

If cookies don't work you can also script the actual login process (feel free to ping me off-board with a site and test credentials and I can help you get a script working).

Thanks,

-Pat