You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by wolverine my <wo...@gmail.com> on 2007/01/17 13:27:03 UTC

Retry LDAP thread bind request

Hi!

I'm testing the LDAP server with 1000 concurrent users and some of the
LDAP thread bind requests are failed with the following error:

1169011310793,0,Thread Bind,800,javax.naming.CommunicationException:
localhost:10389 [Root exception is java.net.ConnectException:
Connection refused: connect],Thread Group 1-455,text,false,


This is most likely because of the maximum session has been opened by
the server. Hence, the server rejects the subsequent requests untill
the previous sessions are closed.

May I know how to wait and re-bind the LDAP server until there is one
or more session available?

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Retry LDAP thread bind request

Posted by git <gi...@cubicalland.com>.
Dood,

The snag is that the LDAP server is not going to tell you when you can
rebind!

Though you can run a loop which exists when the successful query has
been made.

Cheers

AJ

On Wed, 2007-01-17 at 20:27 +0800, wolverine my wrote:

> Hi!
> 
> I'm testing the LDAP server with 1000 concurrent users and some of the
> LDAP thread bind requests are failed with the following error:
> 
> 1169011310793,0,Thread Bind,800,javax.naming.CommunicationException:
> localhost:10389 [Root exception is java.net.ConnectException:
> Connection refused: connect],Thread Group 1-455,text,false,
> 
> 
> This is most likely because of the maximum session has been opened by
> the server. Hence, the server rejects the subsequent requests untill
> the previous sessions are closed.
> 
> May I know how to wait and re-bind the LDAP server until there is one
> or more session available?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

www.cubicalland.com
www.nerds-central.blogspot.com




RE: Retry LDAP thread bind request

Posted by "Smits, Dolf" <do...@siemens.com>.
Hi,

I think the first question is. What do you want to achieve?

You clearly made a testplan that overloads the server. Is that what you
want to do?
Now you hit the "defense system" of the ldap server. In real life, the
session will not be started so discarding the thread might be the
natural reaction to this error.
(are you sure it is a ldap server limit? You mean you try to run 1000
concurent sessions? That seems an awful lot of sessions at the same
time. If you run much less concurrent sessions, because they live for a
short period, you might have run out of sockets, either on the server or
client side)

If you definitly want to start the thread anyway, you will need to build
a logical structure, with while loops en extractors to build a check
that will continu the thread only after the bind has been successfull.
 
Success,

Dolf

Dolf Smits 
Senior Consultant Identity Management Solutions 

070 333 3654 
070 333 2511 
06 55844837 
Dolf.Smits@siemens.com 
Let op: Vrijdags heb ik ouderschapsverlof en wordt uw mail niet gelezen.
Deze e-mail is uitsluitend bedoeld voor kennisneming door de
geadresseerde(n), en mag niet aan anderen worden doorgestuurd of op
andere wijze ter kennis worden gebracht. Indien u niet de geadresseerde
bent, verzoek ik u om de afzender te waarschuwen en de e-mail direct te
verwijderen/vernietigen. De afzender wijst elke aansprakelijkheid voor
(de inhoud van) deze e-mail af.

 


-----Original Message-----
From: wolverine my [mailto:wolverine.my@gmail.com] 
Sent: woensdag 17 januari 2007 13:27
To: jmeter-user@jakarta.apache.org
Subject: Retry LDAP thread bind request

Hi!

I'm testing the LDAP server with 1000 concurrent users and some of the
LDAP thread bind requests are failed with the following error:

1169011310793,0,Thread Bind,800,javax.naming.CommunicationException:
localhost:10389 [Root exception is java.net.ConnectException:
Connection refused: connect],Thread Group 1-455,text,false,


This is most likely because of the maximum session has been opened by
the server. Hence, the server rejects the subsequent requests untill
the previous sessions are closed.

May I know how to wait and re-bind the LDAP server until there is one
or more session available?

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org