1 | public TestElement createTestElement() {↵ | | 1 | public void configure(TestElement element) {↵
|
2 | SubscriberSampler sampler = new SubscriberSampler();↵ | | |
|
3 | this.configureTestElement(sampler);↵ | | 2 | super.configure(element↵
|
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.getText());↵ | | |
|
10 | sampler.setPassword(jmsPwd.getText());↵ | | |
|
11 | sampler.setUseAuth(reqAuth.getText());↵ | | |
|
12 | sampler.setIterations(iterations.getText());↵ | | |
|
13 | sampler.setReadResponse(String.valueOf(readResponse.isSelected↵ | | 3 | );↵
|
| | | 4 | LineChart bc = (LineChart)element;↵
|
| | | 5 | xItems.setText(bc.getXAxis());↵
|
| | | 6 | yItems.setText(bc.getYAxis());↵
|
| | | 7 | xAxisLabel.setText(bc.getXLabel());↵
|
| | | 8 | yAxisLabel.setText(bc.getYLabel());↵
|
14 | ()));↵ | | 9 | caption.setText(bc.getCaption());↵
|
15 | sampler.setClientChoice(clientChoice.getText());↵ | | |
|
16 | return sampler;↵ | | |
|
17 | | | 10 | urls.setText(bc.getURLs());↵
|
| | | 11 |
|