@Override public void modifyTestElement(TestElement te) { StockParam sampler = (StockParam) te; sampler.clear(); configureTestElement(sampler); super.modifyTestElement(sampler); sampler.setHeaders((Arguments) headers.createTestElement()); }
private void configureHeaders(StockParam sampler) { Arguments sampleHeaders = sampler.getHeaders(); if (sampleHeaders != null) { headers.configure(sampleHeaders); } else { headers.clearGui(); } }