//throw new RuntimeException(e);
}
}
// to execute ALL tests, testCase is null going fowrard
ClientConfig clientConfig = new ClientConfig(config.user,
config.password, new StatusListener());
if (config.autotune) {
clientConfig.enableAutoTune();
clientConfig.setAutoTuneTargetInternalLatency(config.latencytarget);
} else {
clientConfig.setMaxTransactionsPerSecond(config.ratelimit);
}
// for adhoc limit number of outstanding tx
clientConfig.setMaxOutstandingTxns(200);
client = ClientFactory.createClient(clientConfig);
periodicStatsContext = client.createStatsContext();
fullStatsContext = client.createStatsContext();