1 | public void modifyTestElement(TestElement extractor) {↵ | | |
|
2 | super.configureTestElement(extractor);↵ | | |
|
3 | if ( extractor instanceof XPathExtractor){↵ | | 1 | if (s instanceof SoapSampler) {↵
|
4 | XPathExtractor xpath = (XPathExtractor)extractor;↵ | | |
|
5 | xpath.setDefaultValue(defaultField.getText());↵ | | |
|
6 | xpath.setRefName(refNameField.getText());↵ | | |
|
7 | xpath.setXPathQuery(xpathQueryField.getText());↵ | | |
|
8 | xpath.setTolerant(tolerant.isSelected());↵ | | |
|
9 | xpath.setNameSpace(nameSpace.isSelected());↵ | | |
|
10 | xpath.setShowWarnings(showWarnings.isSelected());↵ | | |
|
11 | xpath.setReportErrors(reportErrors.isSelected());↵ | | |
|
12 | xpath.setQuiet(quiet↵ | | 2 | SoapSampler sampler = (SoapSampler) s;↵
|
| | | 3 | sampler.setURLData(urlField.getText());↵
|
| | | 4 | sampler.setXmlData(soapXml.getText());↵
|
| | | 5 | sampler.setXmlFile(soapXmlFile.getFilename());↵
|
| | | 6 | sampler.setSOAPAction(soapAction.getText());↵
|
| | | 7 | sampler.setSendSOAPAction(sendSoapAction.isSelected());↵
|
13 | .isSelected());↵ | | 8 | sampler.setUseKeepAlive(useKeepAlive.isSelected());↵
|
14 | }↵ | | |
|
15 | | | 9 |
|