1 | String getRootdn() {↵ | | 1 | String getXmlData() {↵
|
2 | return getPropertyAsString(ROOTDN);↵ | | 2 | return getPropertyAsString(XML_DATA);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the Test attribute of the LdapConfig object.↵ | | 5 | * it's kinda obvious, but we stat↵
|
6 | * ↵ | | |
|
7 | * @param newTest↵ | | |
|
8 | *↵ | | 6 | e it anyways. Set the xml file with a↵
|
| | | 7 | * string path.↵
|
9 | ↵ | | 8 | *↵
|
10 | the new test value(Add,Modify,Delete and search)↵ | | 9 | ↵
|
11 | ↵ | | 10 | * @param filename↵
|
12 | */↵ | | 11 | */↵
|
13 | public void setTest(String newTest) {↵ | | 12 | public void setXmlFile(String ↵
|
14 | this.setProperty(TEST, newTest);↵ | | |
|
15 | ↵ | | 13 | filename) {↵
|
| | | 14 | setProperty(XML_DATA_FILE, filename);↵
|
16 | }↵ | | 15 | }↵
|
|
17 | /**↵ | | 16 | /**↵
|
18 | * Gets the test attribute of the LDAPSampler object.↵ | | 17 | * Get the ↵
|
19 | ↵ | | 18 | file location of the xml file.↵
|
20 | * ↵ | | 19 | *↵
|
21 | * @return the test value (Add, Modify, Delete and search)↵ | | 20 | * @return ↵
|
22 | ↵ | | 21 | String file path.↵
|
23 | */↵ | | 22 | */↵
|
24 | public String getTest() {↵ | | 23 | public String get↵
|
25 | ↵ | | 24 | XmlFile() {↵
|
26 | return getPropertyAsString(TEST);↵ | | 25 | return getPropertyAsString(↵
|
27 | ↵ | | 26 | XML_DATA_FILE);↵
|
28 | } | | 27 | }
|