1 | void setTest(String newTest) {↵ | | 1 | void setTopic(String topic) {↵
|
2 | this.setProperty(TEST, newTest);↵ | | 2 | setProperty(TOPIC, topic);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /***************************************************************************↵ | | 4 | /**↵
|
5 | * Gets the test attribute of the LDAPSampler object↵ | | 5 | * return the topic used for the benchmark↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @return The test value (Add,Modify,Delete and search)↵ | | 7 | * @return the t↵
|
8 | *************************************************************************↵ | | 8 | opic↵
|
9 | */↵ | | 9 | */↵
|
10 | public String getTest() {↵ | | 10 | public String getTopic() {↵
|
11 | return getPropertyAsString(TEST);↵ | | 11 | return getPropertyAsString(TOPIC);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /***************************************************************************↵ | | 13 | /**↵
|
14 | * Sets the attributes of the LdapConfig object↵ | | 14 | * set the ↵
|
15 | * ↵ | | |
|
16 | * @param newAttrs↵ | | |
|
17 | * The new attributes value↵ | | |
|
18 | *************************************************************************↵ | | 15 | username to login into the jms server if needed↵
|
| | | 16 | * ↵
|
| | | 17 | * @param user↵
|
19 | */↵ | | 18 | */↵
|
20 | public void setAttrs(String newAttrs) {↵ | | 19 | public void setUsername(String user) {↵
|
21 | this.setProperty(ATTRIBS, newAttrs);↵ | | 20 | setProperty(↵
|
22 | }↵ | | |
|
|
23 | /*************************************************************************↵ | | 21 | PRINCIPAL, user);↵
|
| | | 22 | }↵
|
|
24 | **↵ | | 23 | /**↵
|
25 | * Gets the attributes of the LDAPSampler object↵ | | 24 | * return the username used to login to the jms server↵
|
26 | * ↵ | | 25 | * ↵
|
27 | * @return The attributes↵ | | 26 | * @return the ↵
|
28 | *************************************************************************↵ | | 27 | username used to login to the jms server↵
|
29 | */↵ | | 28 | */↵
|
30 | public String getAttrs() {↵ | | 29 | public String getUsername() {↵
|
31 | return getPropertyAsString(ATTRIBS);↵ | | 30 | return getPropertyAsString(PRINCIPAL);↵
|
32 | | | 31 |
|