(I\'ve asked the same question of the jmeter-user mailing list, but I wanted to try here as well - so at the least I can update this with the answer once I find it).
I had the same problem in my code (not related to JMeter).
My code uses a self-defined SocketFactory
. What I found out is that the class com.sun.jndi.ldap.Connection
calls some methods of the SocketFactory
using Method.invoke()
. One of the methods it tries to call is createSocket()
- without parameters.
When I added such method to my factory all worked fine.