jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Salvat i Alabart <jsalv...@atg.com>
Subject Re: JMeter::Session Maintanence ['Watchdog': checked]
Date Thu, 04 Dec 2003 14:39:43 GMT
This is exactly what should be expected when using cookies.

Sorry, I understood you were using (or wanted to use) URL rewriting instead.

-- 
Salut,

Jordi.

En/na KKanagaraj@bca-group.com ha escrit:
> 
> 
> 
> 
> Jordi,
> To put it little more clear.
> 
> 1) when I requested for Login.html
> Request data > Cookie Data: null
> Response Data> Set-Cookie: JServSessionId = aaaa
> 
> 2) When I subimtted Login.html
> Request Data > Cookie Data: aaaa
> Response Data> nothing, coz it was already set for exchanging between
> client & server.
> 
> 3) When I subimtted Home.html
> Request Data > Cookie Data: aaaa
> Response Data> nothing, coz it was already set for exchanging between
> client & server.
> 
> Hope this helps you.
> thanks,
> -kannan
> 
> 
> 
> 
> 
> 
>                                                                                     
                              
>                     Jordi Salvat i                                                  
                              
>                     Alabart              To:     JMeter Users List <jmeter-user@jakarta.apache.org>
               
>                     <jsalvata@atg.       cc:                                     
                                 
>                     com>                 Subject:     Re: JMeter::Session Maintanence
['Watchdog': checked]        
>                                                                                     
                              
>                     04/12/03 13:51                                                  
                              
>                     Please respond                                                  
                              
>                     to "JMeter                                                      
                              
>                     Users List"                                                     
                              
>                                                                                     
                              
>                                                                                     
                              
> 
> 
> 
> Wait: if JMeter is sending a new sessionId on each request, it must have
> found it somewhere, right? Where is it finding it in, if not in the
> response?
> 
> Can you send the full text of a response and the following request?
> 
> 
> En/na KKanagaraj@bca-group.com ha escrit:
> 
>>
>>
>>
>>Hi Jordi,
>>Yes u r correct. For first request no session id will be there, for
> 
> second
> 
>>request, server will generate one and send back.
>>And that session id will be exchanged between the client & server for
>>further requests.
>>But, Jmeter is sending new session id for every request.
>>I analysed the request data and response data in the results tree.
>>
>>Do you have any idea or alternative for this.
>>-kannan
>>
>>
>>
>>
>>
> 
> 
>>                    Jordi Salvat i
> 
> 
>>                    Alabart              To:     JMeter Users List
> 
> <jmeter-user@jakarta.apache.org>
> 
>>                    <jsalvata@atg.       cc:
> 
> 
>>                    com>                 Subject:     Re: JMeter::Session
> 
> Maintanence ['Watchdog': checked]
> 
> 
>>                    04/12/03 12:20
> 
> 
>>                    Please respond
> 
> 
>>                    to "JMeter
> 
> 
>>                    Users List"
> 
> 
> 
> 
>>
>>
>>Hi.
>>
>>That looks correct: since it's the first request, session aaaa does not
>>exist in the server, so it will create a new one. The issue is what
>>happens on the next request: does JMeter send bbbb as a session id?
>>
>>En/na KKanagaraj@bca-group.com ha escrit:
>>
>>
>>>
>>>
>>>Yes I read the docs, It suggets me to use Http URL rewrite modifier.
>>>I tried that, but even then the output is like this :
>>>for eg:
>>>
>>>Request data:
>>>http://localhost/login.html;JServSessionId=aaaa?user=u1&pass=p1
>>>
>>>Response data:
>>>HTTP/1.1 200 OK Date: Thu, 04 Dec 2003 12:01:24 GMT
>>>Server: Apache Set-Cookie: JServSessionIdbca=bbbb;
>>>path=/ Keep-Alive: timeout=15, max=95
>>>Connection: Keep-Alive Content-Type: text/plain
>>>
>>>what you say?
>>>
>>>
>>>
>>>
>>
>>
>>>                   Jordi Salvat i
>>
>>
>>>                   Alabart              To:     JMeter Users List
>>
>><jmeter-user@jakarta.apache.org>
>>
>>>                   <jsalvata@atg.       cc:
>>
>>
>>>                   com>                 Subject:     Re: JMeter::Session
>>
>>Maintanence ['Watchdog': checked]
>>
>>
>>
>>>                   04/12/03 11:56
>>
>>
>>>                   Please respond
>>
>>
>>>                   to "JMeter
>>
>>
>>>                   Users List"
>>
>>
>>
>>
>>>
>>>Please read the docs.
>>>
>>>En/na KKanagaraj@bca-group.com ha escrit:
>>>
>>>
>>>
>>>>
>>>>Dear All,
>>>>
>>>>I am testing my web application which is running on Apache + JServ and
>>>>JMeter 1.9.1 for testing the web app.
>>>>
>>>>To start with it has a simple navigation, Login->homepage->detailed
> 
> page.
> 
>>>>Iam passing all the required parameters for all the three pages.
>>>>My application uses HTTPSession (URL Rewriting), What I found in
> 
> response
> 
>>>>data
>>>>of each request is : for example
>>>>1) JServSessionId=aaaaa,
>>>>2) JServSessionId=bbbbb
>>>>3) JServSessionId=ccccc.
>>>>
>>>>It clearly shows that, new session id is generated for each request, but
>>>
>>>I
>>>
>>>
>>>
>>>>want the session to be
>>>>maintained starting from Login page to all the pages that I request for.
>>>>
>>>>Please tell me how do I manage the session across every request.
>>>>
>>>>Thanks in advance,
>>>>-Kannan.
>>>>This email and any attachments to it may contain confidential
> 
> information
> 
>>>>intended for the addressee only. If you are not the intended addressee,
>>>
>>>you
>>>
>>>
>>>
>>>>are strictly prohibited from disclosing, copying, distributing or using
>>>>this email in any way. Unauthorised use of the information contained in
>>>>this email is unlawful. If you have received this email in error please
>>>>notify us on enquiries@bca-group.com and delete the email from your
>>>
>>>system.
>>>
>>>
>>>
>>>>Information contained in this email can not be disclosed, copied,
>>>>distributed or used in any way without the prior consent of the sender.
>>>
>>>Any
>>>
>>>
>>>
>>>>opinions, advice or facts given in this email are given without warranty
>>>
>>>or
>>>
>>>
>>>
>>>>the intention to enter into an agreement unless specifically stated and
>>>>confirmed by agreement, letter or such other documentation signed by an
>>>>authorised signatory of BCA Holdings Limited or any of its subsidiary
>>>>companies.
>>>>
>>>>Any personal information contained in this email is strictly the view of
>>>>the sender and is in no way authorised or attributable to BCA  Holdings
>>>>Limited or any of its subsidiary companies in any way. All emails
> 
> through
> 
>>>>the company gateway are subject to monitoring. The company cannot be
> 
> held
> 
>>>>liable for any errors or viruses contained in this message.
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>This email and any attachments to it may contain confidential information
>>>intended for the addressee only. If you are not the intended addressee,
>>
>>you
>>
>>
>>>are strictly prohibited from disclosing, copying, distributing or using
>>>this email in any way. Unauthorised use of the information contained in
>>>this email is unlawful. If you have received this email in error please
>>>notify us on enquiries@bca-group.com and delete the email from your
>>
>>system.
>>
>>
>>>Information contained in this email can not be disclosed, copied,
>>>distributed or used in any way without the prior consent of the sender.
>>
>>Any
>>
>>
>>>opinions, advice or facts given in this email are given without warranty
>>
>>or
>>
>>
>>>the intention to enter into an agreement unless specifically stated and
>>>confirmed by agreement, letter or such other documentation signed by an
>>>authorised signatory of BCA Holdings Limited or any of its subsidiary
>>>companies.
>>>
>>>Any personal information contained in this email is strictly the view of
>>>the sender and is in no way authorised or attributable to BCA  Holdings
>>>Limited or any of its subsidiary companies in any way. All emails through
>>>the company gateway are subject to monitoring. The company cannot be held
>>>liable for any errors or viruses contained in this message.
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>>
>>This email and any attachments to it may contain confidential information
>>intended for the addressee only. If you are not the intended addressee,
> 
> you
> 
>>are strictly prohibited from disclosing, copying, distributing or using
>>this email in any way. Unauthorised use of the information contained in
>>this email is unlawful. If you have received this email in error please
>>notify us on enquiries@bca-group.com and delete the email from your
> 
> system.
> 
>>Information contained in this email can not be disclosed, copied,
>>distributed or used in any way without the prior consent of the sender.
> 
> Any
> 
>>opinions, advice or facts given in this email are given without warranty
> 
> or
> 
>>the intention to enter into an agreement unless specifically stated and
>>confirmed by agreement, letter or such other documentation signed by an
>>authorised signatory of BCA Holdings Limited or any of its subsidiary
>>companies.
>>
>>Any personal information contained in this email is strictly the view of
>>the sender and is in no way authorised or attributable to BCA  Holdings
>>Limited or any of its subsidiary companies in any way. All emails through
>>the company gateway are subject to monitoring. The company cannot be held
>>liable for any errors or viruses contained in this message.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 
> 
> This email and any attachments to it may contain confidential information
> intended for the addressee only. If you are not the intended addressee, you
> are strictly prohibited from disclosing, copying, distributing or using
> this email in any way. Unauthorised use of the information contained in
> this email is unlawful. If you have received this email in error please
> notify us on enquiries@bca-group.com and delete the email from your system.
> 
> Information contained in this email can not be disclosed, copied,
> distributed or used in any way without the prior consent of the sender. Any
> opinions, advice or facts given in this email are given without warranty or
> the intention to enter into an agreement unless specifically stated and
> confirmed by agreement, letter or such other documentation signed by an
> authorised signatory of BCA Holdings Limited or any of its subsidiary
> companies.
> 
> Any personal information contained in this email is strictly the view of
> the sender and is in no way authorised or attributable to BCA  Holdings
> Limited or any of its subsidiary companies in any way. All emails through
> the company gateway are subject to monitoring. The company cannot be held
> liable for any errors or viruses contained in this message.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
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