1 | public void modifyTestElement(TestElement extractor) {↵ | | 1 | public void ↵
|
2 | super.configureTestElement(extractor);↵ | | |
|
3 | if ( extractor instanceof XPathExtractor){↵ | | |
|
4 | XPathExtractor xpath = (XPathExtractor)extractor;↵ | | |
|
5 | xpath.setDefaultValue(default↵ | | 2 | configure(TestElement el) {↵
|
| | | 3 | super.configure(el);↵
|
| | | 4 | SoapSampler sampler = (SoapSampler) el;↵
|
6 | Field.getText());↵ | | 5 | urlField.setText(↵
|
7 | xpath.setRefName(refNameField.getText());↵ | | |
|
8 | xpath.setXPathQuery(xpathQueryField.getText());↵ | | |
|
9 | xpath.setTolerant(tolerant.isSelected());↵ | | |
|
10 | xpath.setNameSpace(nameSpace.isSelected());↵ | | |
|
11 | xpath.setShowWarnings(showWarnings.isSelected↵ | | 6 | sampler.getURLData());↵
|
| | | 7 | sendSoapAction.setSelected(sampler.getSendSOAPAction());↵
|
| | | 8 | soapAction.setText(sampler.getSOAPAction());↵
|
| | | 9 | soapXml.setText(sampler.getXmlData());↵
|
12 | ());↵ | | 10 | soapXmlFile.setFilename(sampler.getXmlFile());↵
|
13 | xpath.setReportErrors(reportErrors.isSelected());↵ | | 11 | ↵
|
14 | xpath.setQuiet(quiet.isSelected());↵ | | |
|
15 | }↵ | | |
|
16 | | | 12 | useKeepAlive.setSelected(sampler.getUseKeepAlive());↵
|
| | | 13 |
|