public void testConfiguring() throws Exception
{
HTTPSampler sampler = (HTTPSampler) new HttpTestSampleGui().createTestElement();
sampler.addArgument("arg1", "val1");
ConfigTestElement config = (ConfigTestElement) new HttpDefaultsGui().createTestElement();
((Arguments) config.getProperty(HTTPSampler.ARGUMENTS).getObjectValue()).addArgument(new HTTPArgument("config1", "configValue"));
config.setRunningVersion(true);
sampler.setRunningVersion(true);
sampler.setRunningVersion(true);
sampler.addTestElement(config);