jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirodha Pramod <niro...@wso2.com>
Subject Re: Session handling in a Load balanced server
Date Wed, 05 Sep 2012 03:10:28 GMT
Thanks all for shedding some light...... I will check on load balancer side.

On Tue, Sep 4, 2012 at 11:22 PM, Deepak Shetty <shettyd@gmail.com> wrote:

> yes but stickiness is based on something - whats that something (sometimes
> the load balancer adds a cookie , sometime it determines it based on IP
> address)
>
> regards
> deepak
>
> On Tue, Sep 4, 2012 at 10:46 AM, Amanpreet Singh Oberoi <amandv@gmail.com
> >wrote:
>
> > It is a case of sticky sessions which is set in Load Balancer
> > configuration.
> >
> > On Tue, Sep 4, 2012 at 11:13 PM, Flavio Cysne <flaviocysne@gmail.com>
> > wrote:
> >
> > > You could change LB strategy to make same client IP always route to the
> > > same server.
> > >
> > > http://en.wikipedia.org/wiki/Load_balancing_(computing)#Persistence
> > >
> > > 2012/9/4 Nirodha Pramod <nirodha@wso2.com>
> > >
> > > > Hi,
> > > >
> > > > I have a scenario to test a web server, where there are 2 web servers
> > > > fronted with a load balancer. My web service has several inter
> > connected
> > > > operations.
> > > > In my thread group I have 2 samplers where one request do a http post
> > and
> > > > set a value (in memory),
> > > > and another sampler to send a http get and read that value.
> > > >
> > > > Since this service is deployed in 2 servers fronted with a LB, when
> the
> > > > test is run first sampler request is redirected to the first server
> and
> > > the
> > > > get request is redirected to the second server by the load balancer.
> So
> > > > obviously the test fails because the value Im trying to get is not
> > there
> > > > (It is set on the first server).
> > > >
> > > > How can I solve this issue. I want all the samplers run by a
> particular
> > > > thread to be sent to the same session of particular server.
> > > >
> > > > Hope you understand my issue. Thanks in advance.
> > > >
> > > >
> > > > --
> > > > *Nirodha Gallage*
> > > > Software Engineer, QA.
> > > > WSO2 Inc.: http://wso2.com/
> > > > Email: nirodha@wso2.com   Mobile: +94716429078
> > > >
> > >
> >
>



-- 
*Nirodha Gallage*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Email: nirodha@wso2.com   Mobile: +94716429078

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message