1 | public void modifyTestElement(TestElement s) {↵ | | 1 | public void modifyTestElement(TestElement s) {↵
|
2 | SubscriberSampler sampler = (SubscriberSampler) s;↵ | | 2 | ↵
|
3 | this.configureTestElement(sampler);↵ | | |
|
4 | sampler.setUseJNDIProperties(String.valueOf(useProperties.isSelected()));↵ | | |
|
5 | sampler.setJNDIIntialContextFactory(jndiICF.getText())↵ | | 3 | this.configureTestElement(s);↵
|
| | | 4 | if (s instanceof SoapSampler) {↵
|
6 | ;↵ | | 5 | SoapSampler sampler = (SoapSampler) s;↵
|
7 | sampler.setProviderUrl(urlField.getText());↵ | | 6 | sampler.setURLData(urlField.getText());↵
|
8 | sampler.setConnectionFactory(jndiConnFac.getText());↵ | | 7 | sampler.setXmlData(soapXml.getText());↵
|
9 | sampler.setTopic(jmsTopic.getText());↵ | | |
|
10 | sampler.setUsername(jmsUser.getText());↵ | | 8 | sampler.setXmlFile(soapXmlFile.getFilename());↵
|
11 | sampler.setPassword(jmsPwd.getText());↵ | | 9 | sampler.set↵
|
12 | sampler.setUseAuth(reqAuth.getText());↵ | | 10 | SOAPAction(soapAction.getText());↵
|
13 | sampler.setIterations(iterations.getText());↵ | | 11 | sampler.setSendSOAPAction(sendSoapAction.isSelected());↵
|
14 | sampler.setReadResponse(String.valueOf(readResponse.isSelected()));↵ | | 12 | sampler.setUseKeepAlive(useKeepAlive.isSelected());↵
|
15 | sampler.setClientChoice(clientChoice.getText());↵ | | 13 | }↵
|
16 | | | 14 |
|