1 | void setUseAuth(String auth) {↵ | | 1 | void setXmlPathLoc(String path) {↵
|
2 | setProperty(USE_AUTH, auth);↵ | | 2 | setProperty(XML_PATH_LOC, path);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return whether jndi requires authentication↵ | | 5 | * Get↵
|
6 | * ↵ | | 6 | the path where XML messages are stored. this is the directory where↵
|
7 | * @return whether jndi requires authentication↵ | | 7 | * JMeter will randomly select a file.↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getUseAuth() {↵ | | 9 | public String getXmlPathLoc() {↵
|
10 | return getPropertyAsString(USE_AUTH);↵ | | 10 | return getPropertyAsString(XML_PATH_LOC);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * set whether the sampler should read the response or not↵ | | 13 | * ↵
|
14 | * ↵ | | |
|
15 | * @param read whether the sampler should read the response or not↵ | | 14 | it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 15 | * string path.↵
|
| | | 16 | * ↵
|
| | | 17 | * @param filename↵
|
16 | */↵ | | 18 | */↵
|
17 | public void setReadResponse(String read) {↵ | | 19 | public void setXmlFile(String filename) {↵
|
18 | setProperty(READ_RESPONSE, read);↵ | | 20 | setProperty(XML_DATA_FILE, filename);↵
|
19 | } | | 21 | }
|