// Damn! A whole new GUI just to instantiate a test element?
// Isn't there a beter way?
HttpTestSampleGui tempGui = new HttpTestSampleGui();
HTTPSamplerBase result = createSampler();
tempGui.configure(result);
tempGui.modifyTestElement(result);
result.setFollowRedirects(false);
result.setUseKeepAlive(true);
log.debug("getSampler: sampler path = " + result.getPath());
return result;
}