1 | public void modifyTestElement(TestElement s) {↵ | | 1 | public void modifyTestElement(TestElement element) {↵
|
2 | this.configureTestElement(s);↵ | | 2 | this.configureTestElement(↵
|
3 | if (s instanceof SoapSampler) {↵ | | |
|
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.isSelected↵ | | 3 | element);↵
|
| | | 4 | BarChart bc = (BarChart)element;↵
|
| | | 5 | bc.setXAxis(xItems.getText());↵
|
| | | 6 | bc.setYAxis(yItems.getText());↵
|
| | | 7 | bc.setXLabel(xAxisLabel.getText());↵
|
| | | 8 | bc.setYLabel(yAxisLabel.getText());↵
|
| | | 9 | bc.setCaption(caption.getText());↵
|
11 | ());↵ | | 10 | bc.setURL(url.getText());↵
|
12 | }↵ | | 11 |
|
13 | | | | |