public void testCallsWithIDReferences() throws Exception {
String address = "ws://localhost:" + getPort() + "/websocket";
BookStoreWebSocket resource = JAXRSClientFactory.create(address, BookStoreWebSocket.class, null, true);
Client client = WebClient.client(resource);
client.header(HttpHeaders.USER_AGENT, JAXRSClientConduitWebSocketTest.class.getName());
// call the POST service twice (a unique requestId is automatically included to correlate the response)
EchoBookIdRunner[] runners = new EchoBookIdRunner[2];
runners[0] = new EchoBookIdRunner(resource, 549);
runners[1] = new EchoBookIdRunner(resource, 495);