Hi,
I am testing a web application and storing cookie after login as:
<storeCookie name="JSESSIONID" property="cookie" />
<verifyCookie name="JSESSIONID" text="#{cookie}" />
Verification is also done properly, now i want to set this cookie in header
something like
<header name="Cookie" value="JSESSIONID=4EA91ED4FEF3245652F40FEC887B6B8C"/>
So that i can run a set of test cases on subsequent pages with this session,
how can i achieve this ?
I was looking at
<storeHeader description="store cookie" name="Content-Type"
property="contentType" />
Option but this in documents it says: The name of the Http Response Header of
interest. If the property name
is not specified, the header name is used as key to store the value
found. this i think is more on HTTP response header.
Please help, since i tried lot of different options and failed.
-Amit
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel
bargains.
http://farechase.yahoo.com/promo-generic-14795097