1 | void setInputFile(String file) {↵ | | 1 | void setUseAuth(String auth) {↵
|
2 | setProperty(INPUT_FILE, file);↵ | | 2 | setProperty(USE_AUTH, auth);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return the path of the input file↵ | | 5 | * return ↵
|
6 | * ↵ | | 6 | whether jndi requires authentication↵
|
| | | 7 | * ↵
|
| | | 8 | * @return whether jndi requires authentication↵
|
7 | */↵ | | 9 | */↵
|
8 | public String getInputFile() {↵ | | 10 | public String getUseAuth() {↵
|
9 | return getPropertyAsString(INPUT_FILE);↵ | | 11 | return getPropertyAsString(USE_AUTH);↵
|
10 | }↵ | | 12 | }↵
|
|
11 | /**↵ | | 13 | /**↵
|
12 | * set the random path for the messages↵ | | 14 | * set whether the sampler should read the response or not↵
|
13 | * ↵ | | 15 | * ↵
|
14 | * @param path↵ | | 16 | * @param read whether the sampler should read the response or not↵
|
15 | */↵ | | 17 | */↵
|
16 | public void setRandomPath(String path) {↵ | | 18 | public void setReadResponse(String read) {↵
|
17 | setProperty(RANDOM_PATH, path);↵ | | 19 | setProperty(READ_RESPONSE, read);↵
|
18 | }↵ | | 20 | }↵
|
|
19 | /**↵ | | 21 | /**↵
|
20 | * return the random path for messages↵ | | 22 | * return ↵
|
21 | * ↵ | | 23 | whether the sampler should read the response↵
|
| | | 24 | * ↵
|
| | | 25 | * @return whether the sampler should read the response↵
|
22 | */↵ | | 26 | */↵
|
23 | public String getRandomPath() {↵ | | 27 | public String getReadResponse() {↵
|
24 | return getPropertyAsString(RANDOM_PATH);↵ | | 28 | return getPropertyAsString(READ_RESPONSE);↵
|
25 | | | 29 |
|