1 | if (c instanceof CounterConfig) {↵ | | |
|
2 | CounterConfig config = (CounterConfig) c;↵ | | |
|
3 | config.setStart(startField.getText());↵ | | |
|
4 | // Bug 22820 if (endField.getText().length() > 0)↵ | | |
|
5 | {↵ | | |
|
6 | config.setEnd(endField.getText());↵ | | |
|
7 | }↵ | | |
|
8 | config.setIncrement(incrField.getText());↵ | | |
|
9 | config.setVarName(varNameField.getText());↵ | | |
|
10 | config.setFormat(formatField.getText());↵ | | |
|
11 | config.setIsPerUser(perUserField.isSelected());↵ | | |
|
12 | }↵ | | |
|
13 | super↵ | | 1 | sampler.clear();↵
|
| | | 2 | urlConfigGui.modifyTestElement(sampler);↵
|
| | | 3 | final HTTPSamplerBase samplerBase = (HTTPSamplerBase) sampler;↵
|
| | | 4 | if (getImages.isSelected()) {↵
|
| | | 5 | samplerBase.setImageParser(true);↵
|
| | | 6 | } else {↵
|
| | | 7 | // The default is false, so we can remove the property to simplify JMX files↵
|
| | | 8 | // This also allows HTTPDefaults to work for this checkbox↵
|
| | | 9 | sampler.removeProperty(HTTPSamplerBase.IMAGE_PARSER);↵
|
| | | 10 | }↵
|
| | | 11 | samplerBase.setMonitor(isMon.isSelected());↵
|
| | | 12 | samplerBase.setMD5(useMD5.isSelected());↵
|
| | | 13 | samplerBase.setEmbeddedUrlRE(embeddedRE.getText());↵
|
14 | .configureTestElement(c); | | 14 | this.configureTestElement(sampler);
|