1 | void setTopic(String topic) {↵ | | 1 | void setRootdn(String newRootdn) {↵
|
2 | setProperty(TOPIC, topic);↵ | | 2 | this.setProperty(ROOTDN, newRootdn);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return the topic used for the benchmark↵ | | 5 | * Gets the Rootdn attribute of the LDAPSampler object.↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @return the topic↵ | | 7 | * @return the Rootdn value↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getTopic() {↵ | | 9 | public String getRootdn() {↵
|
10 | return getPropertyAsString(TOPIC);↵ | | 10 | return getPropertyAsString(ROOTDN);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * set the username to login into the jms server if needed↵ | | 13 | * Sets the ↵
|
14 | * ↵ | | |
|
15 | * @param user↵ | | 14 | Test attribute of the LdapConfig object.↵
|
| | | 15 | * ↵
|
| | | 16 | * @param newTest↵
|
| | | 17 | * the new test value(Add,Modify,Delete and search)↵
|
16 | */↵ | | 18 | */↵
|
17 | public void setUsername(String user) {↵ | | 19 | public void setTest(String newTest) {↵
|
18 | setProperty(PRINCIPAL, user);↵ | | 20 | this.setProperty(TEST, newTest);↵
|
19 | | | 21 |
|