1 | public void configure(TestElement el) {↵ | | |
|
2 | super.configure(el);↵ | | |
|
3 | SubscriberSampler sampler = (SubscriberSampler) el;↵ | | |
|
4 | useProperties.setSelected(sampler.getUseJNDIPropertiesAsBoolean());↵ | | |
|
5 | jndiICF.setText(sampler.getJNDIInitialContextFactory());↵ | | |
|
6 | url↵ | | 1 | if ( extractor instanceof XPathExtractor){↵
|
| | | 2 | XPathExtractor xpath = (XPathExtractor)extractor;↵
|
| | | 3 | xpath.setDefaultValue(defaultField.getText());↵
|
7 | Field.setText(sampler.getProviderUrl());↵ | | 4 | xpath.setRefName(refNameField.getText(↵
|
8 | jndiConnFac.setText(sampler.getConnectionFactory());↵ | | |
|
9 | jmsTopic.setText(sampler.getTopic());↵ | | |
|
10 | jmsUser.setText(sampler.getUsername());↵ | | |
|
11 | jmsPwd.setText(sampler.getPassword());↵ | | |
|
12 | iterations.setText(sampler.getIterations());↵ | | |
|
13 | reqAuth.setText(sampler.getUseAuth());↵ | | |
|
14 | readResponse.setSelected(sampler.getReadResponseAsBoolean());↵ | | |
|
15 | clientChoice.setText(sampler.getClientChoice());↵ | | |
|
16 | | | 5 | ));↵
|
| | | 6 | xpath.setXPathQuery(xpathQueryField.getText());↵
|
| | | 7 | xpath.setTolerant(tolerant.isSelected());↵
|
| | | 8 | xpath.setNameSpace(nameSpace.isSelected());↵
|
| | | 9 | xpath.setShowWarnings(showWarnings.isSelected());↵
|
| | | 10 | xpath.setReportErrors(reportErrors.isSelected());↵
|
| | | 11 | xpath.setQuiet(quiet.isSelected());↵
|
| | | 12 |
|