the client test framework for websocket