1 | void setXmlPathLoc(String path) {↵ | | 1 | void setXPathQuery(String ↵
|
2 | ↵ | | 2 | val){↵
|
3 | setProperty(XML_PATH_LOC, path);↵ | | 3 | setProperty(XPATH_↵
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * Get the path where XML messages are stored. this is the directory where↵ | | |
|
7 | * JMeter will randomly select a file.↵ | | |
|
8 | */↵ | | |
|
9 | ↵ | | 4 | QUERY,val); ↵
|
| | | 5 | }↵
|
| | | 6 | ↵
|
10 | public String getXmlPathLoc() {↵ | | 7 | public String getXPathQuery(){↵
|
11 | return getPropertyAsString(XML_PATH_LOC);↵ | | 8 | return getPropertyAsString(XPATH_↵
|
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 | */↵ | | 9 | QUERY);↵
|
| | | 10 | }↵
|
| | | 11 | ↵
|
19 | public void setXmlFile(String filename) {↵ | | 12 | public void setRefName(String refName) {↵
|
20 | setProperty(XML_DATA_FILE, filename);↵ | | 13 | setProperty(REFNAME, refName);↵
|
21 | | | 14 |
|