1 | void setFilename(String newFilename) {↵ | | 1 | void setXmlPathLoc(String path) {↵
|
2 | this.setProperty(FILENAME, newFilename);↵ | | 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 getFilename() {↵ | | 9 | public String getXmlPathLoc() {↵
|
5 | return getPropertyAsString(FILENAME);↵ | | 10 | return getPropertyAsString(↵
|
6 | }↵ | | |
|
|
7 | public void setReque↵ | | 11 | XML_PATH_LOC);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
8 | stData(String newRequestData↵ | | 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 | ) {↵ | | 19 | public void setXmlFile(String filename) {↵
|
10 | this.setProperty(REQUEST, newRequestData);↵ | | 20 | setProperty(XML_DATA_FILE, filename);↵
|
11 | } | | 21 | }
|