[hobbit] Web Page Check

Ralph Mitchell ralphmitchell at gmail.com
Wed Jan 10 22:07:49 CET 2007


On 1/10/07, James Wade <jkwade at futurefrontiers.com> wrote:
>
> Does anyone know how I can integrate hobbit with
>
> a test that would check web page logins?
>
>
>
> For example, We have a Web Server which connects
>
> to an App. Server which connects to a Database Server.
>
>
>
> To test functionality, we login to the Web Server, then enter
>
> data into a form, which stores the information into the database.
>
> This is just a test user account.
>
>
>
> I'd like to setup a test that does the same thing and have hobbit
>
> alert us. For example, you can an error logging in, or an error submitting
>
> your data in the form.


I'm doing exactly that with a bunch of scripts I wrote for Big Bother,
before switching to Hobbit.  I'm using curl to fetch web pages, then
grep, awk, or whatever to pick out interesting stuff to make sure the
page is correct.  Lather, rinse, repeat.  Curl handles cookies
properly, proxies, authenticating via Basic Auth, etc.

I'm about to go to bed right now, but if you're interested I'll try to
get some sample stuff written up when I get to work tonight.

Ralph Mitchell



More information about the Xymon mailing list