WebPagetest Forums
Setcookie not working as expected - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Setcookie not working as expected (/showthread.php?tid=13763)



Setcookie not working as expected - mmitra - 06-09-2015 02:11 AM

I am trying to use setcookie to set the user login.
We have a scenario where we want to test a page that is displayed based on user login.

I have tried the following but no luck. I have tried setting the same cookies from the browser (chrome) and it works fine.
Please let me know if I am missing anything.

combinesteps
navigate path
setCookie path cookie1=TZpRG5WIfIn/KqnclE0NOTQzNzDJq/TGRjTY97
setCookie path cookie2="cX58F1CQYUU=="
navigate path
navigate finalpath

Any help will be really appreciated.

Thanks,
Madhura