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