Hey there,
I have tried to simulate the stated of logged in user by adding a cookie like so
exec(addCookie(Cookie(“sso2”, “${USERID}_$(RandomKey)_sn2_ts1430149950239”)))
.exec(
http(“Search Flow login”)
.get("${URL}")
.check(status.is(200))
.check(regex(“Sign out”))
)
However, it doesn’t look like the user is logged in after insert the cookie as it fails on the regex check on the page. Should I have used something other than ‘addCookie’ to simulate cookie insertion?
Thanks