[Webtest] Cookies and WebTest
Wed, 4 Aug 2004 16:22:20 +0200
first: typically there is no need to set any cookies explicitely.
this is all done under the hood. whatever the server sends as a cookie,
Canoo WebTest will send it back.
second: you tried to set the "Set-Cookie" header in an http request,
but "Set-Cookie" is only used in http resonse headers, i.e. what the
server sends to the client (browser). For setting a request header
(pretending the server sent a "Set-Cookie" before), you need to
send the "Cookie" header.
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com]On Behalf Of Vishal Augustine
> Sent: Dienstag, 3. August 2004 16:22
> To: firstname.lastname@example.org
> Subject: [Webtest] Cookies and WebTest
> Can someone please help me to set a cookie in the config (SampleTest.xml)
> xml file ?
> I tried the following but it is not working
> <header name="Set-Cookie" value="cookieuser=vishal;" /> </config>
> I searched the mail archives, but couldn't find an answer to it.
> Is there a good tutorial link for canoo other than what is there under
> http://webtest.canoo.com/manual/ ?
> WebTest mailing list