LDAP protocol overview

LDAP, the Lightweight Directory Access Protocol, is a protocol used to access a folder listing. The LDAP folder is composed of many LDAP entries. Each LDAP entry is a collection of attributes with a name, called a distinguished name (DN). For more information about DN, see Define distinguished name entries.

LDAP folder entries are arranged in a hierarchical structure that reflects political, geographic, and/or organizational boundaries. Entries representing countries appear at the top of the tree. Below them are entries representing states or national organizations. Below them might be entries representing people, organizational units, printers, documents, or just about anything else.

VuGen records communication over LDAP servers. It creates a Vuser script, with functions that emulate your actions. This includes logging in and out of the server, adding and deleting entries, and querying an entry.

LDAP libraries

LDAP libraries are not automatically installed with Virtual User Generator or OneLG. To run LDAP scripts, you must manually copy the LDAP library files from the source folder, to the bin folder of the LoadRunner Professional, VuGen, or load generator machine.

  • For LoadRunner Professional and VuGen, the LDAP libraries files are located in the DVD\lrunner\Common\LDAP_libraries folder. There are different versions for Windows and Linux machines.

  • For OneLG, the files are located in the prerequisites\LDAP_libraries subfolder of the extracted installation package, by default C:\Temp\<LoadRunner OneLG version>\prerequisites\LDAP_libraries.