Sounds to me like there is a limit set in the API on how many concurrent 
authentication requests you can have from a single IP address or something 
similar. Try to see what happens if you run from more than one jmeter instance 
on two separate IP adresses, can both run successfully with up to 32 concurrent 
requests?

/Christian

-----Ursprungligt meddelande-----
Från: Rakshita BJ <writetoraksh...@gmail.com> 
Skickat: den 30 mars 2023 01:03
Till: JMeter Users List <user@jmeter.apache.org>
Ämne: Re: Queue Error in Jmeter

Yes, I have this Sign on API which I use to generate numerous transactions.

Suppose I am adding 100 users, out of 100 at least 20 would have failed the 
request with this error.

I had googled about this and this is the solution I got, which doesn't seem to 
work.

*This error message typically occurs when JMeter is trying to acquire more 
connections than are available in the authentication queue. The authentication 
queue has a maximum size of 32, so when JMeter tries to acquire more 
connections than this limit, the error message is displayed.*


*To resolve this error, you can try the following:Increase the authentication 
queue size: You can increase the size of the authentication queue by adding the 
following line to your JMeter properties file:*

*httpclient4.max_persistent_connections_per_route=your_value*

Thanks
Rakshita.


On Wed, Mar 29, 2023 at 6:43 PM Brian Wolfe <wolfebrian2...@gmail.com>
wrote:

> > {"code":39,"message":"Pending acquire queue has reached its maximum 
> > size
> of
> > 32","source":"auth"}.
> Is this a response from the API your testing? that doesn't look like 
> anything we would typically see in jmeter logs.
>
> On Wed, Mar 29, 2023 at 6:10 PM Rakshita BJ 
> <writetoraksh...@gmail.com>
> wrote:
>
> > Hi Team
> >
> > Thank you for the response.
> >
> > Sign on request API can handle numerous request and that has been 
> > tested
> as
> > well. Also spoke to the API developer regarding this.
> >
> >
> > Only when I run the same api in Jmeter by adding lid on it,  it’s 
> > through an error.
> >
> > Thanks
> > Rakshita
> >
> > On Wed, Mar 29, 2023 at 6:02 PM Lisa Waugh <wa...@us.ibm.com> wrote:
> >
> > > Hi Rakshita,
> > > It sounds like you have reached the limits of what the sign on 
> > > request
> > api
> > > can handle.
> > >
> > > This isn’t a tool issue.
> > >
> > > Regards,
> > >
> > > Lisa JM Waugh
> > > Test Engineer
> > > CIO Software & Development Experience
> > > 1 704 907 7008 Mobile
> > > 1 720 342 5373 Office
> > > wa...@us.ibm.com
> > >
> > > IBM
> > >
> > >
> > >
> > > From: Rakshita BJ <writetoraksh...@gmail.com>
> > > Date: Wednesday, March 29, 2023 at 4:12 PM
> > > To: user@jmeter.apache.org <user@jmeter.apache.org>
> > > Subject: [EXTERNAL] Queue Error in Jmeter Hi Team
> > >
> > > I am working on a lottery project and using jmeter to do a 
> > > performance test.
> > > I am conducting a performance test on teh API's.
> > >
> > > I have a total of 48 thread groups with each thread group having a 
> > > sign
> > on
> > > request.
> > >
> > > When I try to run with 100 users the sign on request is failing 
> > > with
> the
> > > below error.
> > >
> > > {"code":39,"message":"Pending acquire queue has reached its 
> > > maximum
> size
> > of
> > > 32","source":"auth"}.
> > >
> > > The API's are working fine, I guess I have some issue with the tool.
> > >
> > > Please let me know if you need any further details.
> > >
> > > Thanks
> > > Rakshita
> > >
> >
>
>
> --
> Thanks,
> Brian Wolfe
> https://www.linkedin.com/in/brian-wolfe-3136425a/
>

Reply via email to