----- Original Message ----- From: "Jeff Turner" <[EMAIL PROTECTED]> To: "Ivelin Ivanov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, May 26, 2002 6:21 PM Subject: Anteater session support (Re: Anteater tests) > > I don't think that's possible right now without a custom task. It's > *almost* possible to emulate a session, eg you can capture the cookie: > > <match> > <header name="Set-Cookie" assign="cookie"/> > </match> > <echo>cookie is ${cookie}</echo> > > which prints: > > cookie is JSESSIONID=D37674C597C550D5E598740310A63695;Path=/cocoon > > > And you can set cookies: > > <httpRequest ...> > <header name="cookie" value="JSESSIONID=22C663C2A4C77751B1560328D2D5E2F1/> > ... > </httpRequest> > > > But I can't see an easy way to strip off that ';Path=..' bit at the end :( > > That, and problems with Tomcat4's chunked encoding[1] mean we really > need to adopt a full-featured http client library. Ideally, I'd like to > steal Latka's http abstraction layer, and then we can slot httpclient or > whatever in underneath. Reusing Latka's layer would also make reusing > validators/matchers across projects a lot easier.
Have any progress been achieved in this direction? Maybe Anteater should seek help in its place of birth, the Cocoon community. Another big feature would be generating ant/JUnit compatible reports. This will stimulate writing complete test suites. Ivelin > > > --Jeff > > [1] > http://sourceforge.net/tracker/index.php?func=detail&aid=547890&group_id=429 70&atid=434732 > > > Thanks, > > > > > > Ivelin > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]