1 | String getUseAuth() {↵ | | 1 | String getXmlPathLoc() {↵
|
2 | return getPropertyAsString(USE_AUTH);↵ | | 2 | return getPropertyAsString(XML_PATH_LOC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set whether the sampler should read the response or not↵ | | 5 | * ↵
|
6 | * ↵ | | |
|
7 | * @param read whether the sampler should read the response or not↵ | | 6 | it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 7 | * string path.↵
|
| | | 8 | * ↵
|
| | | 9 | * @param filename↵
|
8 | */↵ | | 10 | */↵
|
9 | public void setReadResponse(String read) {↵ | | 11 | public void setXmlFile(String filename) {↵
|
10 | setProperty(READ_RESPONSE, read);↵ | | 12 | setProperty(XML_DATA_FILE, filename);↵
|
11 | }↵ | | 13 | }↵
|
|
12 | /**↵ | | 14 | /**↵
|
13 | * return whether the sampler should read the response↵ | | 15 | * Get↵
|
14 | * ↵ | | |
|
15 | * @return whether the sampler should read the response↵ | | 16 | the file location of the xml file.↵
|
| | | 17 | * ↵
|
| | | 18 | * @return String file path.↵
|
16 | */↵ | | 19 | */↵
|
17 | public String getReadResponse() {↵ | | 20 | public String getXmlFile() {↵
|
18 | return getPropertyAsString(READ_RESPONSE);↵ | | 21 | return getPropertyAsString(XML_DATA_FILE);↵
|
19 | } | | 22 | }
|