1 | String getUsername() {↵ | | 1 | String getPassword() {↵
|
2 | return getPropertyAsString(PRINCIPAL);↵ | | 2 | return getPropertyAsString(CREDENTIALS);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Set the password to login to the jms server↵ | | 5 | * set the number of iterations the sampler should aggregate↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param pwd↵ | | 7 | * @param count↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setPassword(String pwd) {↵ | | 9 | public void setIterations(String count) {↵
|
10 | setProperty(CREDENTIALS, pwd);↵ | | 10 | setProperty(ITERATIONS, count);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the password used to login to the jms server↵ | | 13 | * get the ↵
|
14 | * ↵ | | |
|
15 | * @return the password used to login to the jms server↵ | | 14 | iterations as string↵
|
| | | 15 | * ↵
|
| | | 16 | * @return the number of iterations↵
|
16 | */↵ | | 17 | */↵
|
17 | public String getPassword() {↵ | | 18 | public String getIterations() {↵
|
18 | return getPropertyAsString(CREDENTIALS);↵ | | 19 | return getPropertyAsString(ITERATIONS);↵
|
19 | } | | 20 | }
|