VMware Cloud Community
jdukes
Contributor
Contributor

HTTP Check with Login

I have an web application that I need to be able to check availability on. Doing a standard http check will not work as the database behind it could be down but the http server would still respond. I need the http check to be able to login to the web page. A successful login would ensure that the web server, app server and database are all up and functioning normally.
0 Kudos
5 Replies
vreikine
Contributor
Contributor

I am also interested in this functionality. There is another product called "Selenium" that is designed for web applications testing and as I understand there was a plugin in the works that supposed to integrate Selenium into Hyperic. Anybody has any information on that ?
0 Kudos
admin
Immortal
Immortal

Ideally you would be monitoring each of the tiers of your web
application so that you can get accurate error reporting. However,
you can write a script to post the login parameters and check the
content, and you can then create a script service in HQ to run it and
get the return value that you need. See this URL for more information:

http://support.hyperic.com/display/DOC/Script+Plugin

Charles


0 Kudos
excowboy
Virtuoso
Virtuoso

Hi,

I started to write a document about Hyperic HQ & Selenium. It is available on HyperForge:
http://support.hyperic.com/display/hypcomm/Selenium

It is pretty easy to integrate Selenium in Hyperic to test complex web applications additionally to monitoring every tier of your application or to SaaS applications.

I look forward to your feedback

Cheers,
Mirko
0 Kudos
njyeti
Contributor
Contributor

Hi Mirko,
I tried using the Selenium to check the health of my log in page however when the Hyperic HQ calls the scripts it is opening up the browser as well. Is there any way I can keep the browser from opening. Any help will be much appreciated!!!

Cheers!!
0 Kudos
admin
Immortal
Immortal

I think Selenium was suggested as a way to do complex checking. If
you are only concerned with login, then why don't you use something
simple like curl and pass in the login parameters?

Charles


0 Kudos