[Webtest] "advanced" cookie properties using header?
Marc Guillemot
Marc Guillemot <mguillemot@yahoo.fr>
Sun, 22 Jun 2008 11:12:10 +0200
yes and no.
If you set a header, you set something that will be sent to the server
and therefore you can define it as you want, but it will *always* be
set, no matter of the path value for instance.
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
Robert Calder wrote:
> Hi there fellow webtest-ers,
>
>
>
> Is it possible to set "advanced" cookie properties (e.g., path,
> expiration) using the header parameter under config?
>
>
>
> I tried those outright, but when I ran webtest it said they weren't
> valid for header. I can't find anything other than the basic case (that
> is, setting of cookie name/value) in the selftests or manual, so I was
> just curious if there was an undocumented way to do this.
>
>
>
> I suspect I might be able to do it using the Cookie class from
> httpclient if it's not possible through header...I don't suppose someone
> has tried that?
>
>
>
> Thanks for any help!
>
>
>
>