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