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