All,

I need some help debugging an issue I'm seeing. I've used JMeter before to
test web apps and found it fairly straight foward. However, I'm now
attempting to use it to test LDAP requests to a directory server. 
I'm using the same networkd and login configuration that I used to connect
trough Apache Directory Studio and SLAMD, but JMeter appears to think my DN
is incorrect.

I'm recieving the following error when running a single LDAP request:

Response code: 500
Respone message: javax.naming.InvalidNameException: [LDAP: error code 34 -
Invalid DN]

The jmeter.log file contains the following lines:

2009/11/09 15:26:10 INFO  - jmeter.engine.StandardJMeterEngine: Running the
test! 
2009/11/09 15:26:10 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,*local*) 
2009/11/09 15:26:10 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group Thread Group. Ramp up = 1. 
2009/11/09 15:26:10 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
continue on error 
2009/11/09 15:26:10 INFO  - jmeter.engine.StandardJMeterEngine: All threads
have been started 
2009/11/09 15:26:10 INFO  - jmeter.threads.JMeterThread: Thread started:
Thread Group 1-1 
2009/11/09 15:26:10 ERROR - jmeter.protocol.ldap.sampler.LDAPSampler: Ldap
client -  javax.naming.InvalidNameException: [LDAP: error code 34 - Invalid
DN]
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)
        at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
        at
org.apache.jmeter.protocol.ldap.sampler.LdapClient.connect(LdapClient.java:64)
        at
org.apache.jmeter.protocol.ldap.sampler.LDAPSampler.sample(LDAPSampler.java:428)
        at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
        at java.lang.Thread.run(Unknown Source)


Any help would be appriciated,

Dave
-- 
View this message in context: 
http://old.nabble.com/Question%3A-Help-needed-with-JMeter-LDAP-Request-tp26273409p26273409.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to