You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by To...@txb.de on 2006/01/16 17:18:06 UTC

JSP Session ID lost on redirect

Hi,
 
thanks a lot for your help with my previous question on proxy servers.  We
are a step further now but have run into new problems. Maybe somebody on
this list can offer help again.
 
We've managed to record a sequence of requests (thanks again, Carsten!) and
we have mainly solved our redirect problem.  Now the initial request of a
thread group is executed (including the redirect).  However, any subsequent
requests lose the session information. We know that the sensible thing to do
is to add a cookie manager to the thread group.  Unfortunately, when we do
this, the redirect ceases working. Is there any known issue with the cookie
manager interfering with HTTP redirects? Do we have to configure the cookie
manager in any way? Where do we add the cookie manager? Is it a part of the
thread group or of an individual sample? 
 
Possibly we have a grave misunderstanding of the cookie manager. Maybe
somebody can give us a hint. Terribly sorry that this description of our
problem is kind of vague. If you need further information to help us, please
send a short note. We'll gladly post any info that's needed. 
 
Thanks a lot for your help
 
    Torsten & Alexander
 


******************************************************************
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum 
Informationsaustausch. Wir koennen auf diesem Wege keine 
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen 
Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in 
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange 
of information. We do not accept legally binding declarations (orders, 
etc.) by this means of communication. The contents of this message is 
confidential and intended only for the recipient indicated. Taking 
notice of this message or disclosure by third parties is not 
permitted. In the event that this message is not intended for you, 
please contact us via E-mail or phone.

******************************************************************


Re: JSP Session ID lost on redirect

Posted by Noam Paz <no...@db.com>.
Torsten,
what happens if you simply add the cookie manager to the threads group and make sure "follow redirects" is on in the requests you want it to?

Best regards / Viele Grüße

Noam Paz




                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             Torsten.Frehe@txb.de                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             16.01.2006 17:18                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To 
                                                                                                                                                                                                                                                                                                                                                                                                                       jmeter-user@jakarta.apache.org                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           cc 
                                                                                                                                                                                                     Please respond to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                   "JMeter Users List" <jm...@jakarta.apache.org>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Subject 
                                                                                                                                                                                                                                                                                                                                                                                                                       JSP Session ID lost on redirect                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              




Hi,

thanks a lot for your help with my previous question on proxy servers.  We
are a step further now but have run into new problems. Maybe somebody on
this list can offer help again.

We've managed to record a sequence of requests (thanks again, Carsten!) and
we have mainly solved our redirect problem.  Now the initial request of a
thread group is executed (including the redirect).  However, any subsequent
requests lose the session information. We know that the sensible thing to do
is to add a cookie manager to the thread group.  Unfortunately, when we do
this, the redirect ceases working. Is there any known issue with the cookie
manager interfering with HTTP redirects? Do we have to configure the cookie
manager in any way? Where do we add the cookie manager? Is it a part of the
thread group or of an individual sample?

Possibly we have a grave misunderstanding of the cookie manager. Maybe
somebody can give us a hint. Terribly sorry that this description of our
problem is kind of vague. If you need further information to help us, please
send a short note. We'll gladly post any info that's needed.

Thanks a lot for your help

    Torsten & Alexander



******************************************************************
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum
Informationsaustausch. Wir koennen auf diesem Wege keine
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen
Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange
of information. We do not accept legally binding declarations (orders,
etc.) by this means of communication. The contents of this message is
confidential and intended only for the recipient indicated. Taking
notice of this message or disclosure by third parties is not
permitted. In the event that this message is not intended for you,
please contact us via E-mail or phone.

******************************************************************




--

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



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