@Before public void startClient() throws Exception { client = new WebSocketClient(); client.getPolicy().setIdleTimeout(60000); client.start(); }