You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build an authentication script, but need to capture the auth cookie only set in a 302 response. Despite setting the followRedirects to false, the script still follows the redirect. I'm not sure if it's a bug, or if I'm doing something incorrectly.
The text was updated successfully, but these errors were encountered:
Using ZAP 2.9.0 with Zest 32.0.0, it appears the followRedirects flag is being ignored (or I don't understand how it works).
I created this test script to demonstrate the issue:
Despite the
followRedirects
flag being set tofalse
, upon running the script, I assert (in this example) a stats code of 301 but it fails and I observe two entries in history:https://www.iana.org/domains/example - 301
https://www.iana.org/domains/reserved - 200
I'm trying to build an authentication script, but need to capture the auth cookie only set in a 302 response. Despite setting the followRedirects to false, the script still follows the redirect. I'm not sure if it's a bug, or if I'm doing something incorrectly.
The text was updated successfully, but these errors were encountered: