How Jmeter handles LDAP Referral mechanism

65 views Asked by At

I am trying to do a LDAP mod operation through Jmeter. Expected behavior - Jmeter would hit server A which in turn would hit server B. Actual modification operation would happen at server B. Server B would complete the operation and give response to server A which in turn would respond to Jmeter.

Now the issue is, Jmeter is always getting the "Referral" response message. However, manually we are able to change the password after hitting server A from different remote server.

Could you someone please suggest how to overcome this?

2

There are 2 answers

3
user207421 On

JMeter won't have specific behaviour of its own. You will need to tell it to follow referrals by setting java.naming.referral property appropriately in the jndi.properties mechanism defined in the documentation for the JNDI LDAP provider, which you should already have in place for your application if you expect it to behave that way.

0
vsm On

I am assuming this has been resolved. Just in case you are still wondering, @Rohan , my understanding is that you run jmeter on the command line:

$ jmeter -Jjava.naming.referral=true -n -t testplan.jmx -l log.jtl