What is LDAP?
LDAP (Lightweight Directory Access Protocol) is a software protocol for enabling anyone to locate organizations, individuals, and other resources such as files and devices in a network, whether on the public Internet or on a corporate intranet. LDAP is a “lightweight” (smaller amount of code) version of Directory Access Protocol (DAP), which is part of X.500, a standard for directory services in a network. An LDAP directory can be distributed among many servers. Each server can have a replicated version of the total directory that is synchronized periodically. An LDAP server is called a Directory System Agent (DSA). An LDAP server that receives a request from a user takes responsibility for the request, passing it to other DSAs as necessary, but ensuring a single coordinated response for the user.
In JMeter, ‘LDAP Extended Request Default’ config element helps to create a default configuration for LDAP.
How to add ‘LDAP Extended Request Defaults’?
You can follow steps to add LDAP Extended Request Defaults:
- Select ‘Test Plan’ node
- Right-click on the ‘Test Plan’ node
- Hover the mouse on ‘Add’
- Hover the mouse on ‘Config Element‘
- Click on ‘LDAP Extended Request Defaults’
What are the input fields in ‘LDAP Extended Request Defaults’?
- Name: To provide element name
- Comments: To provide arbitrary comments (if any)
- Test Configuration: This option helps you to choose the different type of test that you want to perform.
- Thread Bind
- Thread Unbind
- Single bind/unbind
- Rename entry
- Test: Choose the appropriate test action as per requirement
- Add Test: Operation to create a new object
- Deletion Test: Operation to delete the object
- Search Test: Operation to search the object
- Compare: Operation to compare the object
- Modification Test: Operation to modify the object
Refer to this Link