1 | public void configure(TestElement el) {↵ | | 1 | public void configure(TestElement el) {↵
|
2 | super.configure(el);↵ | | 2 | super.configure(el);↵
|
3 | SubscriberSampler sampler = (SubscriberSampler) el;↵ | | 3 | ↵
|
4 | useProperties.setSelected(sampler.getUseJNDIPropertiesAsBoolean());↵ | | |
|
5 | jndiICF↵ | | 4 | XPathExtractor xpe = (XPathExtractor) el;↵
|
| | | 5 | xpathQueryField.setText(xpe.getXPathQuery());↵
|
6 | .setText(sampler.getJNDIInitialContextFactory());↵ | | 6 | defaultField.setText(xpe.getDefaultValue());↵
|
7 | urlField.setText(sampler.getProviderUrl());↵ | | 7 | refNameField.setText(↵
|
8 | jndiConnFac.setText(sampler.getConnectionFactory());↵ | | |
|
9 | jmsTopic.setText(sampler.getTopic↵ | | 8 | xpe.getRefName());↵
|
10 | ());↵ | | 9 | tolerant.setSelected(xpe.isTolerant());↵
|
11 | jmsUser.setText(sampler.getUsername());↵ | | 10 | ↵
|
12 | jmsPwd.setText(sampler.getPassword());↵ | | |
|
13 | iterations.setText(sampler.getIteration↵ | | 11 | quiet.setSelected(xpe.isQuiet());↵
|
14 | s());↵ | | 12 | showWarnings.setSelected(xpe.showWarnings());↵
|
15 | reqAuth.setText(sampler.getUseAuth());↵ | | 13 | re↵
|
16 | readResponse.setSelected(sampler.getReadResponseAsBoolean());↵ | | |
|
17 | clientChoice.setText(sampler.getClientChoice↵ | | 14 | portErrors.setSelected(xpe.reportErrors());↵
|
| | | 15 | nameSpace.setSelected(xpe.useNameSpace());↵
|
18 | ());↵ | | 16 | setTidyOptions(tolerant.isSelected());↵
|
19 | | | 17 |
|