Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.protocol.ldap.sampler » [javadoc | source]
org.apache.jmeter.protocol.ldap.sampler
public class: LDAPExtSampler [javadoc | source]
java.lang.Object
   org.apache.jmeter.testelement.AbstractTestElement
      org.apache.jmeter.samplers.AbstractSampler
         org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler

All Implemented Interfaces:
    TestListener, Sampler, TestElement, Serializable

Ldap Sampler class is main class for the LDAP test. This will control all the test available in the LDAP Test.
Field Summary
public static final  String SERVERNAME     
public static final  String PORT     
public static final  String SECURE     
public static final  String ROOTDN     
public static final  String TEST     
public static final  String ADD     
public static final  String MODIFY     
public static final  String BIND     
public static final  String UNBIND     
public static final  String DELETE     
public static final  String SEARCH     
public static final  String SEARCHBASE     
public static final  String SEARCHFILTER     
public static final  String ARGUMENTS     
public static final  String LDAPARGUMENTS     
public static final  String BASE_ENTRY_DN     
public static final  String SCOPE     
public static final  String COUNTLIM     
public static final  String TIMELIM     
public static final  String ATTRIBS     
public static final  String RETOBJ     
public static final  String DEREF     
public static final  String USERDN     
public static final  String USERPW     
public static final  String SBIND     
public static final  String COMPARE     
public static final  String CONNTO     
public static final  String COMPAREDN     
public static final  String COMPAREFILT     
public static final  String PARSEFLAG     
public static final  String RENAME     
public static final  String MODDDN     
public static final  String NEWDN     
Constructor:
 public LDAPExtSampler() 
Method from org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler Summary:
getArguments,   getAttrs,   getBaseEntryDN,   getConnTimeOut,   getCountlim,   getCountlimAsLong,   getLDAPArguments,   getLabel,   getPort,   getRootdn,   getScope,   getScopeAsInt,   getServername,   getTest,   getTimelim,   getTimelimAsInt,   getUserDN,   getUserPw,   isDeref,   isParseFlag,   isRetobj,   isSecure,   sample,   setArguments,   setAttrs,   setBaseEntryDN,   setConnTimeOut,   setCountlim,   setDeref,   setLDAPArguments,   setParseFlag,   setPort,   setRetobj,   setRootdn,   setScope,   setSecure,   setServername,   setTest,   setTimelim,   setUserDN,   setUserPw,   testEnded,   testEnded,   testIterationStart,   testStarted,   testStarted
Methods from org.apache.jmeter.testelement.AbstractTestElement:
addProperty,   addTestElement,   canRemove,   clear,   clearTemporary,   clone,   emptyTemporary,   equals,   getName,   getProperty,   getPropertyAsBoolean,   getPropertyAsBoolean,   getPropertyAsDouble,   getPropertyAsFloat,   getPropertyAsInt,   getPropertyAsLong,   getPropertyAsString,   getThreadContext,   getThreadName,   isEnabled,   isRunningVersion,   isTemporary,   logProperties,   mergeIn,   nextIsNull,   propertyIterator,   recoverRunningVersion,   removeProperty,   setName,   setProperty,   setProperty,   setRunningVersion,   setTemporary,   setThreadContext,   setThreadName,   threadFinished,   threadStarted,   traverse,   traverseCollection,   traverseMap,   traverseProperty
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler Detail:
 public Arguments getArguments() 
    Gets the Arguments attribute of the LdapConfig object
 public String getAttrs() 
    Gets the attributes of the LDAPSampler object
 public String getBaseEntryDN() 
    Gets the BaseEntryDN attribute of the LDAPSampler object
 public String getConnTimeOut() 
 public String getCountlim() 
    Gets the size limit attribute of the LDAPSampler object
 public long getCountlimAsLong() 
 public LDAPArguments getLDAPArguments() 
    Gets the LDAPArguments attribute of the LdapConfig object
 public String getLabel() 
    Returns a formatted string label describing this sampler Example output:
 public String getPort() 
    Gets the Port attribute of the LDAPSampler object
 public String getRootdn() 
    Gets the Rootdn attribute of the LDAPSampler object
 public String getScope() 
    Gets the search scope attribute of the LDAPSampler object
 public int getScopeAsInt() 
 public String getServername() 
    Gets the servername attribute of the LDAPSampler object
 public String getTest() 
    Gets the test attribute of the LDAPSampler object
 public String getTimelim() 
    Gets the time limit attribute of the LDAPSampler object
 public int getTimelimAsInt() 
 public String getUserDN() 
    Gets the username attribute of the LDAP object
 public String getUserPw() 
    Gets the password attribute of the LDAP object
 public boolean isDeref() 
    Gets the deref attribute of the LDAPSampler object
 public boolean isParseFlag() 
 public boolean isRetobj() 
    Gets the return objects attribute of the LDAPSampler object
 public boolean isSecure() 
 public SampleResult sample(Entry e) 
    !ToDo (Method description)
 public  void setArguments(Arguments value) 
    Sets the Arguments attribute of the LdapConfig object This will collect values from the table for user defined test case
 public  void setAttrs(String newAttrs) 
    Sets the attributes of the LdapConfig object
 public  void setBaseEntryDN(String newbaseentry) 
    Sets the Base Entry DN attribute of the LDAPSampler object
 public  void setConnTimeOut(String connto) 
 public  void setCountlim(String newClim) 
    Sets the size limit attribute of the LDAPSampler object
 public  void setDeref(String newDref) 
    Sets the deref attribute of the LDAPSampler object
 public  void setLDAPArguments(LDAPArguments value) 
    Sets the Arguments attribute of the LdapConfig object This will collect values from the table for user defined test case
 public  void setParseFlag(String parseFlag) 
 public  void setPort(String port) 
    Sets the Port attribute of the ServerConfig object
 public  void setRetobj(String newRobj) 
    Sets the return objects attribute of the LDAPSampler object **************************************************************
 public  void setRootdn(String newRootdn) 
    Sets the Rootdn attribute of the LDAPSampler object
 public  void setScope(String newScope) 
    Sets the search scope attribute of the LDAPSampler object
 public  void setSecure(String sec) 
 public  void setServername(String servername) 
    Sets the Servername attribute of the ServerConfig object
 public  void setTest(String newTest) 
    Sets the Test attribute of the LdapConfig object
 public  void setTimelim(String newTlim) 
    Sets the time limit attribute of the LDAPSampler object
 public  void setUserDN(String newUserDN) 
    Sets the username attribute of the LDAP object *******************************************************
 public  void setUserPw(String newUserPw) 
    Sets the password attribute of the LDAP object *******************************************************
 public  void testEnded() 
 public  void testEnded(String host) 
 public  void testIterationStart(LoopIterationEvent event) 
 public  void testStarted() 
 public  void testStarted(String host)