1 | public void modifyTestElement(TestElement s) {↵ | | 1 | public void modifyTestElement(TestElement extractor) {↵
|
2 | this.configureTestElement(s);↵ | | 2 | super.configureTestElement(extractor);↵
|
3 | if (s instanceof SoapSampler) {↵ | | 3 | if (extractor instanceof ↵
|
4 | SoapSampler sampler = (SoapSampler) s;↵ | | |
|
5 | sampler.setURLData(urlField.getText↵ | | 4 | RegexExtractor) {↵
|
| | | 5 | RegexExtractor regex = (RegexExtractor) extractor;↵
|
6 | ());↵ | | 6 | regex.setUseField(group.getSelection().getActionCommand()); ↵
|
7 | sampler.setXmlData(soapXml.getText());↵ | | 7 | ↵
|
8 | sampler.setXmlFile(soapXmlFile.getFilename());↵ | | |
|
9 | sampler.setSOAPAction(soapAction↵ | | 8 | regex.setRefName(refNameField.getText());↵
|
| | | 9 | regex.setRegex(regexField.getText());↵
|
10 | .getText());↵ | | 10 | regex.setTemplate(templateField.getText());↵
|
11 | sampler.setSendSOAPAction(sendSoapAction.isSelected());↵ | | 11 | ↵
|
12 | sampler.setUseKeepAlive(useKeepAlive.isSelected↵ | | 12 | regex.setDefaultValue(defaultField.getText());↵
|
13 | ());↵ | | 13 | regex.setMatchNumber(matchNumberField.getText());↵
|
14 | }↵ | | 14 | }↵
|
15 | | | 15 |
|