1 | public void modifyTestElement(TestElement s) {↵ | | 1 | public void configure(TestElement el) {↵
|
2 | WebService↵ | | 2 | super.configure(el);↵
|
3 | Sampler sampler = (WebServiceSampler) s;↵ | | 3 | PublisherSampler sampler = (PublisherSampler) el;↵
|
4 | this.configureTestElement(sampler);↵ | | 4 | ↵
|
5 | sampler.setDomain(domain.getText());↵ | | |
|
6 | ↵ | | 5 | useProperties.setSelected(sampler.getUseJNDIPropertiesAsBoolean());↵
|
7 | sampler.setProperty(HTTPSamplerBase.PORT,port.getText());↵ | | 6 | jndiICF.setText(sampler.get↵
|
8 | ↵ | | 7 | JNDIInitialContextFactory());↵
|
9 | sampler.setProtocol(protocol.getText());↵ | | 8 | urlField.setText(sampler.getPro↵
|
10 | sampler.setPath(path.getText());↵ | | |
|
11 | sampler.setWsdlURL(wsdlField↵ | | 9 | viderUrl());↵
|
| | | 10 | jndiConnFac.setText(sampler.getConnectionFactory());↵
|
12 | .getText());↵ | | 11 | jmsTopic.setText(sampler.getTopic());↵
|
13 | sampler.setMethod(HTTPSamplerBase.POST);↵ | | 12 | jmsUser.set↵
|
14 | sampler.setSoapAction(soapAction.getText());↵ | | |
|
15 | sampler.setXmlData(soapXml↵ | | 13 | Text(sampler.getUsername());↵
|
| | | 14 | jmsPwd.setText(sampler.getPassword());↵
|
16 | .getText());↵ | | 15 | textMessage.setText(sampler.getTextMessage());↵
|
17 | sampler.setXmlFile(soapXmlFile.getFilename());↵ | | 16 | messageFile.setFilename(sampler.get↵
|
18 | sampler.setXmlPathLoc(↵ | | 17 | InputFile());↵
|
19 | randomXmlFile.getText());↵ | | 18 | randomFile.set↵
|
20 | sampler.setTimeout(connectTimeout.getText());↵ | | 19 | Filename(sampler.get↵
|
21 | ↵ | | 20 | RandomPath());↵
|
22 | sampler.setMemoryCache(memCache.isSelected());↵ | | 21 | configChoice.setText(sampler.get↵
|
23 | ↵ | | 22 | ConfigChoice());↵
|
24 | sampler.setReadResponse(readResponse.isSelected());↵ | | 23 | msgChoice.setText(sampler.get↵
|
25 | ↵ | | 24 | MessageChoice());↵
|
26 | sampler.setUseProxy(useProxy.isSelected());↵ | | 25 | updateConfig(sampler.get↵
|
27 | sampler.setProxyHost(proxyHost.getText↵ | | 26 | ConfigChoice());↵
|
28 | ());↵ | | 27 | iterations.setText(sampler.getIterations());↵
|
29 | sampler.setProxyPort(proxyPort.getText());↵ | | 28 | reqAuth.setText(sampler.getUseAuth());↵
|
30 | | | 29 |
|