Forum Discussion

lakshmi's avatar
lakshmi
Occasional Contributor
18 years ago

require groovy script to capture Set Cookie id from HTTP Header table

Hi,

In order to maintain the user session in the test case ,if i copy the Set Cookie, HTTP Header Parameter manually into the subsequent  requests the session is maintained it works fine.

I Need help in creating a groovy-script between the two request that reads the response cookie of the first response and sets the corresponding request cookie in the following request.

Any help would be appreciated.

Thanks,
Lakshmi