[hobbit] Possible to have Hobbit retain and use cookies?

Buchan Milne bgmilne at staff.telkomsa.net
Wed Mar 12 14:14:54 CET 2008


On Wednesday 12 March 2008 12:48:20 Martin Rogers wrote:
> Thanks for that rapid reply!
>
> However we've looked at that option and if I understand it correctly that
> would allow us to create a cookie in advance and read it from the file. 
> The problem we have is that we have 4 weblogic servers, each of which will
> generate a cookie automatically on the first request from Hobbit and return
> it with the http response.  Writing the cookie in advance is not an option
> as it would not be recognised as a valid session cookie by any of the
> weblogic instances.
>
> What we need Hobbit to do is to read the cookie on the first response and
> use it on subsequent calls to that domain.. i.e. to emulate a browser.
>
> Is it possible to do that without a code change? (our last resort!)

It is not possible with Hobbit only at present, but it is quite trivial to 
write a script that uses curl, that would work.

We test our webmail systems, which require a login (returning a cookie), and 
an inbox view (which requires the cookie) this way.

Regards,
Buchan



More information about the Xymon mailing list