1 | public void modifyTestElement(TestElement extractor) {↵ | | 1 | public void configure(TestElement el) {↵
|
2 | super.configureTestElement(extractor);↵ | | 2 | super.configure↵
|
3 | if (extractor instanceof RegexExtractor) {↵ | | |
|
4 | RegexExtractor regex = (RegexExtractor) extractor;↵ | | |
|
5 | regex.setUseField(group.getSelection().getActionCommand↵ | | 3 | (el);↵
|
| | | 4 | SoapSampler sampler = (SoapSampler) el;↵
|
| | | 5 | urlField.setText(sampler.getURLData());↵
|
6 | ()); ↵ | | 6 | sendSoapAction.setSelected(sampler.getSendSOAPAction());↵
|
7 | regex.setRefName(refNameField.getText());↵ | | 7 | ↵
|
8 | regex.setRegex(regexField.getText());↵ | | 8 | soapAction.setText(sampler.getSOAPAction());↵
|
9 | regex.setTemplate(templateField.getText());↵ | | 9 | ↵
|
10 | regex.setDefaultValue(defaultField.getText());↵ | | |
|
11 | regex.setMatchNumber(matchNumberField.getText↵ | | 10 | soapXml.setText(sampler.getXmlData());↵
|
| | | 11 | soapXmlFile.setFilename(sampler.getXmlFile());↵
|
12 | ());↵ | | 12 | useKeepAlive.setSelected(sampler.getUseKeepAlive());↵
|
13 | }↵ | | 13 |
|
14 | | | | |