JMeter – LDAP Extended Request Defaults

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, the ‘LDAP Extended Request Default’ config element helps to create a default configuration for LDAP.

How to add ‘LDAP Extended Request Defaults’?

You can follow the steps to add LDAP Extended Request Defaults:

  1. Select the ‘Test Plan’ node
  2. Right-click on the ‘Test Plan’ node
  3. Hover the mouse on ‘Add’
  4. Hover the mouse on ‘Config Element
  5. Click on ‘LDAP Extended Request Defaults’ 
JMeter - LDAP Extended Request Defaults
Figure 01

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 types of tests that you want to perform.
    • Thread Bind
    • Thread Unbind
    • Single bind/unbind
    • Rename entry
  • Test: Choose the appropriate test action as per the 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

Example

Refer to this Link


You may be interested:


Leave a Comment