1 | public void configure(TestElement el) {↵ | | |
|
2 | super.configure(el);↵ | | |
|
3 | XPathExtractor xpe = (XPathExtracto↵ | | 1 | if (s instanceof SoapSampler) {↵
|
4 | r) el;↵ | | 2 | SoapSampler sampler = (SoapSampler) s;↵
|
5 | xpathQueryField.setText(xpe.getXPathQuery());↵ | | 3 | sampler.setURLData(urlField.getText(↵
|
6 | defaultField.setText(xpe.getDefaultValue());↵ | | |
|
7 | refNameField.setText(xpe.getRefN↵ | | 4 | ));↵
|
| | | 5 | sampler.setXmlData(soapXml.getText());↵
|
8 | ame());↵ | | 6 | sampler.setXmlFile(soapXmlFile.getFilename());↵
|
9 | tolerant.setSelected(xpe.isTolerant());↵ | | 7 | ↵
|
10 | quiet.setSelected(xpe.isQuiet());↵ | | |
|
11 | showWarnings.setSelected(xpe.showWarnings());↵ | | |
|
12 | reportErrors.setSelected(xpe.reportErrors());↵ | | |
|
13 | nameSpace.setSelected(xpe.useNameSpace());↵ | | |
|
14 | setTidyOptions(tolerant↵ | | 8 | sampler.setSOAPAction(soapAction.getText());↵
|
| | | 9 | sampler.setSendSOAPAction(sendSoapAction.isSelected());↵
|
15 | .isSelected());↵ | | 10 | sampler.setUseKeepAlive(useKeepAlive.isSelected());↵
|
16 | | | 11 |
|