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