public void widgetSelected(SelectionEvent e) {
int numThreads = Integer.parseInt(threadSpinner.getText());
int numExecutions = Integer.parseInt(numExecSpinner.getText());
TestStatement statement = getStatementByName(testCombo.getText());
TestCase testCase = new TestCase(connectionData, statement, numThreads, numExecutions);
long duration = TestService.executeTestCase(testCase);
timeText.setText(String.valueOf(duration) + "ms");
}
});