@Test public void testConfigure() { System.out.println("configure"); HTTPRawSampler sampler = new HTTPRawSampler(); HTTPRawSamplerGui instance = new HTTPRawSamplerGui(); instance.configure(sampler); }
@Override public void configure(TestElement element) { super.configure(element); if (element instanceof HTTPRawSampler) { HTTPRawSampler rawSampler = (HTTPRawSampler) element; hostName.setText(rawSampler.getHostName()); port.setText(rawSampler.getPort()); timeout.setText(rawSampler.getTimeout()); keepAlive.setSelected(rawSampler.isUseKeepAlive()); requestData.setText(rawSampler.getRequestData()); parseResult.setSelected(rawSampler.isParseResult()); fileName.setText(rawSampler.getFileToSend()); } }
HTTPRawSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof HTTPRawSampler) { HTTPRawSampler rawSampler = (HTTPRawSampler) element; hostName.setText(rawSampler.getHostName()); port.setText(rawSampler.getPort()); timeout.setText(rawSampler.getTimeout()); keepAlive.setSelected(rawSampler.isUseKeepAlive()); requestData.setText(rawSampler.getRequestData()); parseResult.setSelected(rawSampler.isParseResult()); fileName.setText(rawSampler.getFileToSend()); } } }
HTTPRawSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof HTTPRawSampler) { HTTPRawSampler rawSampler = (HTTPRawSampler) element; hostName.setText(rawSampler.getHostName()); port.setText(rawSampler.getPort()); timeout.setText(rawSampler.getTimeout()); keepAlive.setSelected(rawSampler.isUseKeepAlive()); requestData.setText(rawSampler.getRequestData()); parseResult.setSelected(rawSampler.isParseResult()); fileName.setText(rawSampler.getFileToSend()); } } HTTPRawSamplerGui(); }
HTTPRawSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof HTTPRawSampler) { HTTPRawSampler rawSampler = (HTTPRawSampler) element; hostName.setText(rawSampler.getHostName()); port.setText(rawSampler.getPort()); timeout.setText(rawSampler.getTimeout()); keepAlive.setSelected(rawSampler.isUseKeepAlive()); requestData.setText(rawSampler.getRequestData()); parseResult.setSelected(rawSampler.isParseResult()); fileName.setText(rawSampler.getFileToSend()); } } HTTPRawSamplerGui(); @Override String getStaticLabel(); @Override void configure(TestElement element); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement sampler); @Override void clearGui(); @Override String getLabelResource(); }
HTTPRawSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof HTTPRawSampler) { HTTPRawSampler rawSampler = (HTTPRawSampler) element; hostName.setText(rawSampler.getHostName()); port.setText(rawSampler.getPort()); timeout.setText(rawSampler.getTimeout()); keepAlive.setSelected(rawSampler.isUseKeepAlive()); requestData.setText(rawSampler.getRequestData()); parseResult.setSelected(rawSampler.isParseResult()); fileName.setText(rawSampler.getFileToSend()); } } HTTPRawSamplerGui(); @Override String getStaticLabel(); @Override void configure(TestElement element); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement sampler); @Override void clearGui(); @Override String getLabelResource(); static final String WIKIPAGE; }