2
votes

I am having trouble getting the Cookie field in the request headers.

My code for getting the Set-Cookie field works fine:

.check(headerRegex("Set-Cookie", "JSESSIONID=(.*)").saveAs("Jsession"))

Doing .check(header("Cookie").saveAs("cookie")) returns empty

1
Hi, did you find a solution for this? - billdoor

1 Answers

-1
votes

Did you try .check(header("Set-Cookie").saveAs("cookie"))