It's all about the answers!

Ask a question

Application check possible without Login?


Klaus Hoppe (433) | asked Dec 01 '20, 7:21 a.m.

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



permanent link
Bartosz Chrabski (3.4k12749) | answered Dec 01 '20, 7:45 a.m.

 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
Klaus Hoppe commented Dec 01 '20, 7:46 a.m.

Do you have an example, how such a request would look like? 


Bartosz Chrabski commented Dec 01 '20, 7:54 a.m.

 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){
}


Klaus Hoppe commented Dec 01 '20, 9:51 a.m.

Thanks, I'll try

 


Bartosz Chrabski commented Dec 01 '20, 4:58 p.m.

If you will need help or services just send me an email bart.chrabski@reqpro.com


Davyd Norris commented Dec 01 '20, 5:04 p.m.

I was going to post exactly the same thing - checking rootservices is the simplest way to see if the application is functional

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.