1 | void setRegex(String regex) {↵ | | 1 | void setPassword(String pwd) {↵
|
2 | setProperty(REGEX, regex);↵ | | 2 | setProperty(CRE↵
|
3 | }↵ | | |
|
| | | 3 | DENTIALS, pwd);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * return the password used to login to the jms server↵
|
| | | 7 | * ↵
|
| | | 8 | * @return the password used to login to the jms server↵
|
| | | 9 | */↵
|
4 | public String getRegex() {↵ | | 10 | public String getPassword() {↵
|
5 | return getPropertyAsString(REGEX);↵ | | 11 | return getPropertyAsString(CREDENTIALS);↵
|
6 | }↵ | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * set the number of iterations the sampler should aggregate↵
|
| | | 15 | * ↵
|
| | | 16 | * @param count↵
|
| | | 17 | */↵
|
7 | public void setRefName(String refName) {↵ | | 18 | public void setIterations(String count) {↵
|
8 | setProperty(REFNAME, refName);↵ | | 19 | setProperty(↵
|
9 | }↵ | | |
|
| | | 20 | ITERATIONS, count);↵
|
| | | 21 | }↵
|
|
| | | 22 | /**↵
|
| | | 23 | * get the iterations as string↵
|
| | | 24 | * ↵
|
| | | 25 | * @return the number of iterations↵
|
| | | 26 | */↵
|
10 | public String getRefName() {↵ | | 27 | public String getIterations() {↵
|
11 | return getPropertyAsString(REFNAME);↵ | | 28 | return getPropertyAsString(ITERATIONS);↵
|
12 | | | 29 |
|