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