WebPagetest Forums
Send arbitrary headers (for user-agent, cookies, etc.) - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: Send arbitrary headers (for user-agent, cookies, etc.) (/showthread.php?tid=11855)



Send arbitrary headers (for user-agent, cookies, etc.) - mjs - 11-01-2012 02:36 AM

Is there any way to send arbitrary headers? I'd like this to send a particular cookie value, but it would also be useful to set user-agent. (I realise you can also test via different browsers.)


RE: Send arbitrary headers (for user-agent, cookies, etc.) - pmeenan - 11-02-2012 12:42 AM

Yep, you can add cookies, set the UA or add/modify arbitrary headers if you use a script: https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting