Page 1 of 1

Check if web service available

Posted: Fri Jun 23, 2017 1:38 pm
by mimu
What would be the best way to check if a web server is available or not ?

I tried to send a simple get request to a static resource on the server before each rest call,
but if the server is not available i have to wait for the long standard timeout.

How to change the timeout to for example to 0.5 seconds?