public void testFromTwoClients(String path, int diff) throws DeploymentException, InterruptedException, IOException {
final String host = System.getProperty("tyrus.test.host");
if (host == null) {
return;
}
ClientManager client = ClientManager.createClient();
int value1 = testOneClient(client, path);
int value2 = testOneClient(client, path);
assertEquals("The difference is not as expected", diff, value2 - value1);