Explicitly Add cookie to request

Hi, i just wanted to know if this is possible, to add a cookie to a request to determine the difference between having a cookie and not having a cookie (we call different back end services on my page).

How would i tell one test to explicitly set a cookie and another to not have the cookie?

EDIT: OOPS, i put this into the wrong forum…


Sure, you just need to use a script. There is an example of setting a cookie here: http://www.webperformancecentral.com/wiki/WebPagetest/Scripting#DNS_Override (just the last 2 lines of the script matter for setting the cookie).

Awesome, thanks for the links, I guess I should’ve read the docs. I’m lazy like that!!

np - the scripting is actually outside of the realm of what I expect people to be able to self-discover (less than 1% of users use it but you can do some cool things with it). Feel free to ping me if you have any questions with it.

I am sorry, that I interrupt you, but it is necessary for me little bit more information.