long durationTime = 0;
for (int i = 0; i < testCase.getNumExecution(); i++) {
ExecutionThread[] threads = new ExecutionThread[testCase.getNumThreads()];
for (int j = 0; j < threads.length; j++) {
threads[j] = new ExecutionThread(DatabaseService.createConnection(testCase.getConnectionData()),
testCase.getTestStatement());
}
for (ExecutionThread thread : threads) {
thread.start();