rest connection testing