[Webtest] "advanced" cookie properties using header?

Robert Calder thx_21714307@yahoo.com
Mon, 16 Jun 2008 20:36:02 -0700 (PDT)


--0-604933399-1213673762=:23415
Content-Type: text/plain; charset=us-ascii

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!
 


      
--0-604933399-1213673762=:23415
Content-Type: text/html; charset=us-ascii

<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:#000000;background-color:#ffffff;width:100%;'><tr><td valign='top' style='font: inherit;'><P>Hi there fellow webtest-ers, </P>
<P>&nbsp;</P>
<P>&nbsp;Is it possible to set "advanced" cookie properties (e.g.,&nbsp;path, expiration)&nbsp;using the header parameter under config? </P>
<P>&nbsp;</P>
<P>&nbsp;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. </P>
<P>&nbsp; </P>
<P>&nbsp;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?</P>
<P>&nbsp;</P>
<P>&nbsp;Thanks for any help!</P>
<P>&nbsp;</P></td></tr></table><br>

      
--0-604933399-1213673762=:23415--