Achieve webim state for check
Test for connection