There are nine test operations defined. These operations are given below:
+
+ - Thread bind
+ Any LDAP request is part of a LDAP session, so the first thing that should be done is starting a session to the LDAP server.
+ For starting this session a thread bind is used, which is equal to the LDAP "bind" operation.
+ The user is requested to give a username (Distinghuised name) and password,
+ which will be used to initiate a session.
+ When no password, or the wrong password is specified, an anonymous session is started. Take care,
+ omitting the password will not fail this test, a wrong password will.
+
+ Descriptive name for this sampler that is shown in the tree.
+ The name (or IP-address) of the LDAP server.
+ The port number that the LDAP server is listening to. If this is omitted
+ JMeter assumes the LDAP server is listening on the default port(389).
+ The distinghuished name of the base object that will be used for any subsequent operation.
+ It can be used as a starting point for all operations. You cannot start any operation on a higher level than this DN!
+ Full distinghuished name of the user as which you want to bind.
+ Password for the above user. If omitted it will result in an anonymous bind.
+ If is is incorrect, the sampler will return an error and revert to an anonymous bind.
+
+
+ - Thread unbind
+ This is simply the operation to end a session.
+ It is equal to the LDAP "unbind" operation.
+
+ Descriptive name for this sampler that is shown in the tree.
+
+
+ - Single bind/unbind
+ This is a combination of the LDAP "bind" and "unbind" operations.
+ It can be used for an authentication request/password check for any user. It will open an new session, just to
+ check the validity of the user/password combination, and end the session again.
+
+ Descriptive name for this sampler that is shown in the tree.
+ Full distinghuished name of the user as which you want to bind.
+ Password for the above user. If omitted it will result in an anonymous bind.
+ If is is incorrect, the sampler will return an error.
+
+
+ - Rename entry
+ This is the LDAP "moddn" operation. It can be used to rename an entry, but
+ also for moving an entry or a complete subtree to a different place in
+ the LDAP tree.
+
+ Descriptive name for this sampler that is shown in the tree.
+ The current distinghuished name of the object you want to rename or move,
+ relative to the given DN in the thread bind operation.
+ The new distinghuished name of the object you want to rename or move,
+ relative to the given DN in the thread bind operation.
+
+
+ - Add test
+ This is the ldap "add" operation. It can be used to add any kind of
+ object to the LDAP server.
+
+ Descriptive name for this sampler that is shown in the tree.
+ Distinghuised name of the object you want to add, relative to the given DN in the thread bind operation.
+ A list of attributes and their values you want to use for the object.
+ If you need to add a multiple value attribute, you need to add the same attribute with their respective
+ values several times to the list.
+
+
+ - Delete test
+ This is the LDAP "delete" operation, it can be used to delete an
+ object from the LDAP tree
+
+ Descriptive name for this sampler that is shown in the tree.
+ Distinghuished name of the object you want to delete, relative to the given DN in the thread bind operation.
+
+
+ - Search test
+ This is the LDAP "search" operation, and will be used for defining searches.
+
+ Descriptive name for this sampler that is shown in the tree.
+ Distinghuished name of the subtree you want your
+ search to look in, relative to the given DN in the thread bind operation.
+ searchfilter, must be specified in LDAP syntax.
+ Use 0 for baseobject-, 1 for onelevel- and 2 for a subtree search. (Default=0)
+ Specify the maximum number of results you want back from the server. (default=0, which means no limit.) When the sampler hits the maximum number of results, it will fail with errorcode 4
+ Specify the maximum amount of (cpu)time (in miliseconds) that the server can spend on your search. Take care, this does not say anything about the responsetime. (default is 0, which means no limit)
+ Specify the attributes you want to have returned, seperated by a semicolon. An empty field will return all attributes
+ Whether the object will be returned (true) or not (false). Default=false
+ If true, it will dereference aliases, if false, it will not follow them (default=false)
+
+ .
+ - Modification test
+ This is the LDAP "modify" operation. It can be used to modify an object. It
+ can be used to add, delete or replace values of an attribute.
+
+ Descriptive name for this sampler that is shown in the tree.
+ Distinghuished name of the object you want to modify, relative
+ to the given DN in the thread bind operation
+ The attribute-value-opCode triples. The opCode can be any
+ valid LDAP operationCode (add, delete or replace). If you don't specify a value with a delete operation,
+ all values of the given attribute will be deleted. If you do specify a value in a delete operation, only
+ the given value will be deleted. If this value is non-existent, the sampler will fail the test.
+
+
+ - compare
+ This is the LDAP "compare" operation. It can be used to compare the value
+ of a given attribute with some already known value. In reality this is mostly
+ used to check whether a given person is a member of some group. In such a case
+ you can compare the DN of the user as a given value, with the values in the
+ attribute "member" of an object of the type groupOfNames.
+ If the compare operation fails, this test fails with errorcode 49.
+
+ Descriptive name for this sampler that is shown in the tree.
+ The current distinghuished name of the object of
+ which you want to compare an attribute, relative to the given DN in the thread bind operation.
+ In the form "attribute=value"
+
+
+
+