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