*
*/
private void searchTest(LdapClient ldap, SampleResult res) throws NamingException {
if (!getPropertyAsBoolean(USER_DEFINED)) {
ldap.createTest(getBasicAttributes(), getPropertyAsString(ADD));
setProperty(new StringProperty(SEARCHBASE, getPropertyAsString(ADD)));
setProperty(new StringProperty(SEARCHFILTER, getPropertyAsString(ADD)));
}
res.sampleStart();
searchFoundEntries = ldap.searchTest(getPropertyAsString(SEARCHBASE), getPropertyAsString(SEARCHFILTER));
res.sampleEnd();
if (!getPropertyAsBoolean(USER_DEFINED)) {