soverbosch
11 years agoOccasional Contributor
Accessing session when using Maintain Session
Hi,
I've got to implement a test in which I do a successful login, this results in some cookies to be set. The test I want to do is doing the successful login and then remove one of the cookies and see what happens if I try to enter the site again. I've checked the Maintain HTTP Session tick box and so I thought to be requesting the cookieStore using groovy and remove the cookie. But this does not seam to work, there are never cookies present so I wonder if I am doing something wrong. Any help would be greatly appriciated!
Br,
Sarris
I've got to implement a test in which I do a successful login, this results in some cookies to be set. The test I want to do is doing the successful login and then remove one of the cookies and see what happens if I try to enter the site again. I've checked the Maintain HTTP Session tick box and so I thought to be requesting the cookieStore using groovy and remove the cookie. But this does not seam to work, there are never cookies present so I wonder if I am doing something wrong. Any help would be greatly appriciated!
Br,
Sarris