1 | public TestElement createTestElement() {↵ | | 1 | public void modifyTestElement(TestElement↵
|
2 | SubscriberSampler sampler = new SubscriberSampler();↵ | | |
|
3 | this.configureTestElement(sampler);↵ | | |
|
4 | sampler.setUseJNDIProperties(String.valueOf(useProperties.isSelected()));↵ | | |
|
5 | sampler.setJNDIIntialContextFactory(jndiICF.getText());↵ | | |
|
6 | sampler.setProviderUrl(urlField.getText());↵ | | |
|
7 | sampler.setConnectionFactory(jndiConnFac.getText());↵ | | |
|
8 | sampler.setTopic(jmsTopic.getText());↵ | | |
|
9 | sampler.setUsername(jmsUser↵ | | 2 | element) {↵
|
| | | 3 | this.configureTestElement(element);↵
|
| | | 4 | LineChart bc = (LineChart)element;↵
|
| | | 5 | bc.setXAxis(xItems.getText());↵
|
| | | 6 | bc.setYAxis(yItems.getText());↵
|
10 | .getText());↵ | | 7 | bc.setXLabel(xAxisLabel.getText());↵
|
11 | sampler.setPassword(jmsPwd.getText());↵ | | 8 | ↵
|
12 | sampler.setUseAuth(reqAuth.getText());↵ | | |
|
13 | sampler.setIterations(itera↵ | | 9 | bc.setYLabel(yAxisLabel.getText());↵
|
14 | tions.getText());↵ | | 10 | bc.setCaption(caption.getText());↵
|
15 | sampler.setReadResponse(String.valueOf(readResponse.isSelected()));↵ | | |
|
16 | sampler.setClientChoice(clientChoice.getText());↵ | | |
|
17 | return sampler;↵ | | 11 | bc.setURLs(urls.getText());↵
|
18 | | | 12 |
|