How is your load balancer supposed to handle sticky sessions ?
Usually strategies are cookie based or ip based. If cookie based then
jmeter isnt sending the cookie correctly.
another possibility is you have session replication but thats not working
corretly (and the load balancer doesnt do anything special - but its rare
to not have a primary)

regards
deepak

On Tue, Sep 4, 2012 at 10:23 AM, Nirodha Pramod <[email protected]> wrote:

> 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: [email protected]   Mobile: +94716429078
>

Reply via email to