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