1 | public void configure(TestElement el) {↵ | | 1 | public TestElement createTestElement() {↵
|
2 | super.configure(el);↵ | | 2 | ↵
|
3 | SubscriberSampler sampler = (SubscriberSampler) el;↵ | | 3 | SubscriberSampler sampler = new SubscriberSampler();↵
|
4 | useProperties.setSelected(↵ | | 4 | this.configureTestElement(sampler);↵
|
5 | sampler.getUseJNDIPropertiesAsBoolean());↵ | | 5 | sampler.setUseJNDIProperties↵
|
6 | jndiICF.setText(↵ | | 6 | (String.valueOf(useProperties.isSelected()));↵
|
7 | sampler.getJNDIInitialContextFactory());↵ | | 7 | sampler.setJNDIIntialContextFactory(↵
|
8 | urlField.setText(↵ | | 8 | jndiICF.getText());↵
|
9 | sampler.getProviderUrl());↵ | | 9 | sampler.setProviderUrl(↵
|
10 | jndiConnFac.setText(↵ | | 10 | urlField.getText());↵
|
11 | sampler.getConnectionFactory());↵ | | 11 | sampler.setConnectionFactory(↵
|
12 | jmsTopic.setText(↵ | | 12 | jndiConnFac.getText());↵
|
13 | sampler.getTopic());↵ | | 13 | sampler.setTopic(↵
|
14 | jmsUser.setText(↵ | | 14 | jmsTopic.getText());↵
|
15 | sampler.getUsername());↵ | | 15 | sampler.setUsername(↵
|
16 | jmsPwd.setText(↵ | | 16 | jmsUser.getText());↵
|
17 | sampler.getPassword());↵ | | 17 | sampler.setPassword(↵
|
18 | iterations.setText(↵ | | 18 | jmsPwd.getText());↵
|
| | | 19 | sampler.setUseAuth(reqAuth.getText());↵
|
19 | sampler.getIterations());↵ | | 20 | sampler.setIterations(↵
|
20 | reqAuth.setText(↵ | | 21 | iterations.getText());↵
|
21 | sampler.getUseAuth());↵ | | 22 | sampler.set↵
|
22 | readResponse.setSelected(↵ | | 23 | ReadResponse(String.valueOf(readResponse.isSelected()));↵
|
23 | sampler.getReadResponseAsBoolean());↵ | | 24 | sampler.set↵
|
24 | clientChoice.setText(sampler.getClientChoice())↵ | | 25 | ClientChoice(clientChoice.getText());↵
|
25 | ;↵ | | 26 | return sampler;↵
|
26 | | | 27 |
|