jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DanielBreitner <daniel.breit...@gmx.de>
Subject Re: problems with JMeter and Apache Load Balancer
Date Wed, 03 Sep 2008 15:02:07 GMT

Hei ... .it works !!!
thank you very much !!!

daniel breitner

sebb-2-2 wrote:
> 
> On 21/08/2008, Fitzpatrick, Adrian <adrianf@revenue.ie> wrote:
>>
>>  Hi,
>>
>>  Jmeter shouldnt do this - each thread should have its own seperate
>> cookies.
>>  From the help documentation for the cookie manager -
>>
>>  Each JMeter thread has its own "cookie storage area". So, if you are
>> testing
>>  a web site that uses a cookie for storing session information, each
>> JMeter
>>  thread will have its own session.
> 
> However, there was a bug in JMeter 2.3.1: if you selected "clear each
> iteration", then cookies were shared between threads.
> 
> This has been fixed in the current version, i.e. 2.3.2.
> 
>>  So each thread should be getting its own cookies and be load balanced
>>  correct. If you have already, run your test with 2 threads with the
>> Results
>>  Tree enabled and view the request sent in each case to verify if the
>>  behaviour is definitely as you describe. Other than that, not sure what
>> your
>>  problem might be - maybe its misconfiguration at the load balancing
>> side?
> 
> If you are using the Http Sampler rather than the Http HttpClient
> sampler, this might have some effect, as the Java HTTP implementation
> may reuse connections between threads. The HttpClient implementation
> never shares connections between threads.
> 
> 
>>  - Adrian
>>
>>  -----Original Message-----
>>  From: DanielBreitner [mailto:daniel.breitner@gmx.de]
>>  Sent: 21 August 2008 15:29
>>  To: jmeter-user@jakarta.apache.org
>>  Subject: problems with JMeter and Apache Load Balancer
>>
>>
>>  *************************************
>>
>>  This e-mail has been received by the Revenue Internet e-mail service.
>> (IP)
>>
>>  *************************************
>>
>>
>>
>>  Hi you all :)
>>
>>  I am new to JMeter so please don´t hurt me.
>>
>>  I am trying to test my web application which is on two computers
>> balanced by
>>  one apache load balancer.
>>  I have to use cookies, because I want to "navigate" within my web page -
>>  therefore i am using the HTTP Cookie Manager.
>>
>>  Now I have the problem, that when my first JMeter thread enters the URL
>> of
>>  the Load Balancer, it gets a jsession id together with the machine to
>> send
>>  the request to. For excample jsessionid=dfsdhfgsdf123_machine=computer2
>>  This is a problem because to me it seems, that this cookie is send to
>> the
>>  Load Balancer by all my threads, and so all my threads always go to one
>>  machine, instead of being balancedon two machines.
>>
>>  So I am asking you:
>>
>>  1) Does anyone know how to combine the Apache Load Balancer and JMeter ?
>>
>>  2) How do I config JMeter so that it doesn´t send the cookie with the
>> first
>>  request ?
>>
>>
>>  With kind regards
>>
>>  Daniel Breitner
>>
>>  --
>>  View this message in context:
>> 
>> http://www.nabble.com/problems-with-JMeter-and-Apache-Load-Balancer-tp1908977
>>  1p19089771.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>>
>> ************************
>>
>>  This message has been delivered to the Internet by the Revenue Internet
>> e-mail service (OP)
>>
>>  *************************
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/problems-with-JMeter-and-Apache-Load-Balancer-tp19089771p19291155.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Mime
View raw message