Application check possible without Login?
Hello,
with our Company's Tracking Environment we like to find out whether it is possible to check that a Server and/or Application (like DNG, LQE, ...) is still alive and working or has hang up.
For that we like to send any https Command towards a Server or App, and will send Alarm Mail for any any http Return Code unequal 200
Is this possible without a registered user + credentials ?
Main intention is to detect a Situation where App behaves like "frozen". Effect would be that Process is still existing on Server, but not reacting onto incoming requests.
Best Regards
Klaus Hoppe
One answer
Klaus,
You can try to access contextName/rootservices to check if the application is responding. It wont give you information about application status but You can check if application is deployed correctly.
Comments
Do you have an example, how such a request would look like?
You can try a simple JS.
var req = new XMLHttpRequest();
req.open("GET", "http://cloud.doorsnext.com/jts/rootservices", false);
req.setRequestHeader("Accept", "application/rdf+xml");
req.setRequestHeader("Content-Type", "application/rdf+xml");
try {
req.send();
console.log(req.status);
console.log(req.response);
}
catch(err){
}
Thanks, I'll try
If you will need help or services just send me an email bart.chrabski@reqpro.com
I was going to post exactly the same thing - checking rootservices is the simplest way to see if the application is functional