while (itr.hasNext()) {
String key = itr.next();
try {
SlaveRMIInterface loadgen = (SlaveRMIInterface) rmiClients.get(key).lookup(SlaveClient.REGISTRY_NAME);
res = loadgen.execute();
if (res != 0)
System.out.println("Error executing slave");
} catch (NotBoundException e) {
LOG.error("Could not run test with " + key + " because slave was not bound");
}catch (RemoteException e) {