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