1 | void setRegex(String regex) {↵ | | 1 | void setXmlPathLoc(String path) {↵
|
2 | setProperty(REGEX, regex);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
| | | 3 | XML_PATH_LOC, path);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * Get the path where XML messages are stored. this is the directory where↵
|
| | | 7 | * JMeter will randomly select a file.↵
|
| | | 8 | */↵
|
4 | public String getRegex() {↵ | | 9 | public String getXmlPathLoc() {↵
|
5 | return getPropertyAsString(REGEX);↵ | | 10 | return getPropertyAsString(↵
|
6 | }↵ | | |
|
| | | 11 | XML_PATH_LOC);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 15 | * string path.↵
|
| | | 16 | * ↵
|
| | | 17 | * @param filename↵
|
| | | 18 | */↵
|
7 | public void setRefName(String refName) {↵ | | 19 | public void setXmlFile(String filename) {↵
|
8 | setProperty(REFNAME, refName);↵ | | 20 | setProperty(XML_DATA_FILE, filename);↵
|
9 | } | | 21 | }
|