SPONSORS:






View RSS Feed

Ronak

Understanding Thread Bind/Unbind Operations with LDAP Request in JMeter

Rate this Entry
by , 06-21-2015 at 01:58 AM (299 Views)
Understanding Thread Bind/Unbind Operations with LDAP Request in JMeter

It can be performed through LDAP extended request sampler.
Thread bind
Any LDAP request is part of an 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 (Distinguished 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.

Parameters
Name- Descriptive name for this sampler that is shown in the tree.
Servername- The name (or IP-address) of the LDAP server.
Port- 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).
DN- The distinguished 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!
Username- Full distinguished name of the user as which you want to bind.
Password- 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.

Parameters
Name- Descriptive name for this sampler that is shown in the tree.



Disclaimer: The article/post is posted with the purpose of sharing knowledge and information.
The article may contain references, extract or content from other informative sources.
Researched/Authored/Compiled by -
Ronak Shah
Practice Head - Software Testing (QA), CIGNEX Datamatics

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:19 PM.

Copyright BetaSoft Inc.