1 | public void modifyTestElement(TestElement s) {↵ | | |
|
2 | SubscriberSampler sampler = (SubscriberSampler) s;↵ | | |
|
3 | this.configureTestElement(sampler);↵ | | |
|
4 | sampler.setUseJNDIProperties(String.valueOf(useProperties.isSelected()));↵ | | |
|
5 | sampler.setJNDIIntialContextFactory(jndiICF.getText());↵ | | |
|
6 | sampler.setProviderUrl(urlField.getText());↵ | | |
|
7 | sampler.setConnectionFactory(jndiConnFac.getText());↵ | | |
|
8 | sampler.setTopic(jmsTopic.getText());↵ | | |
|
9 | sampler.setUsername(jmsUser.getText());↵ | | |
|
10 | sampler.setPassword(jmsPwd.getText());↵ | | |
|
11 | sampler.setUseAuth(reqAuth.getText());↵ | | |
|
12 | sampler.setIterations(iterations.getText());↵ | | |
|
13 | sampler.setReadResponse(String.valueOf(readResponse↵ | | 1 | if ( extractor instanceof XPathExtractor){↵
|
| | | 2 | XPathExtractor xpath = (XPathExtractor)extractor;↵
|
| | | 3 | xpath.setDefaultValue(defaultField.getText());↵
|
| | | 4 | xpath.setRefName(refNameField.getText());↵
|
| | | 5 | xpath.setXPathQuery(xpathQueryField.getText());↵
|
| | | 6 | xpath.setTolerant(tolerant.isSelected());↵
|
| | | 7 | xpath.setNameSpace(nameSpace.isSelected());↵
|
| | | 8 | xpath.setShowWarnings(showWarnings.isSelected());↵
|
14 | .isSelected()));↵ | | 9 | xpath.setReportErrors(reportErrors.isSelected());↵
|
15 | sampler.setClientChoice(clientChoice.getText());↵ | | 10 | xpath.set↵
|
16 | | | 11 | Quiet(quiet.isSelected());↵
|
| | | 12 |
|