public Result doComparisonTest(Properties properties) throws Exception {
  final long timeout=Long.parseLong(properties.getProperty(TestOptions.TIMEOUT));
  final int nclients=Integer.parseInt(properties.getProperty(TestOptions.NCLIENTS));
  final int ntrials=Integer.parseInt(properties.getProperty(TestOptions.NTRIALS));
  final int keyLen=Integer.parseInt(properties.getProperty(TestOptions.KEYLEN));
  final int nops=Integer.parseInt(properties.getProperty(TestOptions.NOPS));
  final double insertRate=Integer.parseInt(properties.getProperty(TestOptions.INSERT_RATE));
  final int nindices=Integer.parseInt(properties.getProperty(TestOptions.NINDICES));
  final boolean testCorrectness=Boolean.parseBoolean(properties.getProperty(TestOptions.TEST_CORRECTNESS));
  Result result=doConcurrentClientTest(client,nclients,timeout,ntrials,keyLen,nops,insertRate,nindices,testCorrectness);
  return result;
}

public Result doComparisonTest ( Properties properties ) throws Exception { final long timeout = Long . parseLong ( properties . getProperty ( TestOptions . TIMEOUT ) ) ; final int nclients = Integer . parseInt ( properties . getProperty ( TestOptions . NCLIENTS ) ) ; final int ntrials = Integer . parseInt ( properties . getProperty ( TestOptions . NTRIALS ) ) ; final int keyLen = Integer . parseInt ( properties . getProperty ( TestOptions . KEYLEN ) ) ; final int nops = Integer . parseInt ( properties . getProperty ( TestOptions . NOPS ) ) ; final double insertRate = Integer . parseInt ( properties . getProperty ( TestOptions . INSERT_RATE ) ) ; final int nindices = Integer . parseInt ( properties . getProperty ( TestOptions . NINDICES ) ) ; final boolean testCorrectness = Boolean . parseBoolean ( properties . getProperty ( TestOptions . TEST_CORRECTNESS ) ) ; Result result = doConcurrentClientTest ( client , nclients , timeout , ntrials , keyLen , nops , insertRate , nindices , testCorrectness ) ; return result ; }
setup and run a test .
