1 | void setPassword(String pwd) {↵ | | 1 | void setUseAuth(String auth) {↵
|
2 | setProperty(CREDENTIALS, pwd);↵ | | 2 | setProperty(USE_AUTH, auth);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return the password used to login to the jms server↵ | | 5 | * return ↵
|
6 | * ↵ | | |
|
7 | * @return the password used to login to the jms server↵ | | 6 | whether jndi requires authentication↵
|
| | | 7 | * ↵
|
| | | 8 | * @return whether jndi requires authentication↵
|
8 | */↵ | | 9 | */↵
|
9 | public String getPassword() {↵ | | 10 | public String getUseAuth() {↵
|
10 | return getPropertyAsString(CREDENTIALS);↵ | | 11 | return getPropertyAsString(USE_AUTH);↵
|
11 | }↵ | | 12 | }↵
|
|
12 | /**↵ | | 13 | /**↵
|
13 | * set the number of iterations the sampler should aggregate↵ | | 14 | * set whether the sampler should ↵
|
14 | * ↵ | | |
|
15 | * @param coun↵ | | 15 | read the response or not↵
|
| | | 16 | * ↵
|
16 | t↵ | | 17 | * @param read whether the sampler should read the response or not↵
|
17 | */↵ | | 18 | */↵
|
18 | public void setIterations(String count) {↵ | | 19 | public void setReadResponse(String read) {↵
|
19 | setProperty(ITERATIONS, count);↵ | | 20 | setProperty(READ_RESPONSE, read);↵
|
20 | | | 21 |
|