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