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