Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.protocol.ldap.sampler » [javadoc | source]
org.apache.jmeter.protocol.ldap.sampler
public class: LdapClient [javadoc | source]
java.lang.Object
   org.apache.jmeter.protocol.ldap.sampler.LdapClient
Ldap Client class is main class to create, modify, search and delete all the LDAP functionality available.
Constructor:
 public LdapClient() 
Method from org.apache.jmeter.protocol.ldap.sampler.LdapClient Summary:
connect,   createTest,   deleteTest,   disconnect,   modifyTest,   searchTest
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.protocol.ldap.sampler.LdapClient Detail:
 public  void connect(String host,
    String port,
    String rootdn,
    String username,
    String password) throws NamingException 
    Connect to server.
 public  void createTest(BasicAttributes basicattributes,
    String string) throws NamingException 
    Create the attribute in the ldap directory for the given string.
 public  void deleteTest(String string) throws NamingException 
    Delete the attribute from the ldap directory.
 public  void disconnect() 
    Disconnect from the server.
 public  void modifyTest(ModificationItem[] mods,
    String string) throws NamingException 
    Modify the attribute in the ldap directory for the given string.
 public boolean searchTest(String searchBase,
    String searchFilter) throws NamingException 
    Filter the data in the ldap directory for the given search base.