HTTP Test Tool

Web Service Monitoring

To test your web service is up and running, you could this with a very simple httest script.
Further more you are able to do more complicated stuff, like login, posts and many more you could not with a simple wget or telnet.

Simple Monitor Test

The following simple example will give you a good starting point.

monitor.htt file contains:

_REQ 80
__GET /your/link HTTP/1.1
_EXPECT . "HTTP/1.1 200 Ok"

shell script contains:

/usr/bin/httest -s monitor.htt
if [ $? eq 0 ]
  echo service available
  echo service not available

The httest will return a 0 if it was successful.