@Test
    public void GetLoadTest() throws IOException {
        StartServerOnPort(PORT_A);
        StartServerOnPort(PORT_B);

        ClientConfig config = new DefaultClientConfig();
        Client client = Client.create(config);

        WebResource webResourceA = client.resource(UriBuilder.fromUri("http://localhost:" + PORT_A + "/" + FILE_A_NAME).build());
        WebResource webResourceB = client.resource(UriBuilder.fromUri("http://localhost:" + PORT_B + "/" + FILE_B_NAME).build());

        RequestTestHelper.MakeSureFileExists(FILE_A_NAME, FILE_A_TEXT);
        RequestTestHelper.MakeSureFileExists(FILE_B_NAME, FILE_B_TEXT);

        for(int i = 0; i < 1000; i++) {
            ClientResponse response = webResourceA.accept("text/plain").get(ClientResponse.class);
            Assert.assertEquals(response.getStatus(),200);
            String output = response.getEntity(String.class);
            Assert.assertEquals(output, FILE_A_TEXT);

            response = webResourceB.accept("text/plain").get(ClientResponse.class);
            Assert.assertEquals(response.getStatus(),200);
            output = response.getEntity(String.class);
            Assert.assertEquals(output, FILE_B_TEXT);
        }
    }