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