You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Hembha, Ambanna" <am...@logica.com> on 2009/09/18 11:27:23 UTC

How do I send stored login sessionid to send search request with same sessionid?

Hi,

 

How do i send stored login sessionid to send search request with same
sessiondid?

 

Please help...

 

>  -> One thread group1

>  -> No.of threads : 100

>  -> Rampup period: 1

>  -> Loop Count: 1

>   -> read the login and password from CVS file send a HTTP Post

> 

>         -> HTTP URL Re-writing Modifier to store the session-id

>         -> request to login server verify login the result with
response

>   -> read the "search" data from CSV file

>   -> assertion to verify "search" and verify the searched data

>   -> store results in CVS file

> 

>  I'm unable to "search" with same session id ? (I'm not using cookies)

> 

>  How do I Pass the stored session id - to test "search" feature to
validate the response time.?

 

-Ambs



Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu sch�tzen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Re: How do I send stored login sessionid to send search request with same sessionid?

Posted by Jatin Davey <ja...@cisco.com>.
I am sorry , I didnt see the full mail. You are already using the HTTP 
URL Re-writing modifier.

Thanks
Jatin

Jatin Davey wrote:
> Did you record the way your browser does. Could you see using Live 
> HTTP Headers whether the browser does change the URL with the SessionID.
> If yes then you may have to use HTTP URL Re-writing for this to work.
>
> check this:
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_URL_Re-writing_Modifier 
>
>
> Thanks
> Jatin
>
> Hembha, Ambanna wrote:
>> Hi,
>>
>>  
>>
>> How do i send stored login sessionid to send search request with same
>> sessiondid?
>>
>>  
>>
>> Please help...
>>
>>  
>>
>>  
>>>  -> One thread group1
>>>     
>>
>>  
>>>  -> No.of threads : 100
>>>     
>>
>>  
>>>  -> Rampup period: 1
>>>     
>>
>>  
>>>  -> Loop Count: 1
>>>     
>>
>>  
>>>   -> read the login and password from CVS file send a HTTP Post
>>>     
>>
>>  
>>  
>>>         -> HTTP URL Re-writing Modifier to store the session-id
>>>     
>>
>>  
>>>         -> request to login server verify login the result with
>>>     
>> response
>>
>>  
>>>   -> read the "search" data from CSV file
>>>     
>>
>>  
>>>   -> assertion to verify "search" and verify the searched data
>>>     
>>
>>  
>>>   -> store results in CVS file
>>>     
>>
>>  
>>  
>>>  I'm unable to "search" with same session id ? (I'm not using cookies)
>>>     
>>
>>  
>>  
>>>  How do I Pass the stored session id - to test "search" feature to
>>>     
>> validate the response time.?
>>
>>  
>>
>> -Ambs
>>
>>
>>
>> Please help Logica to respect the environment by not printing this 
>> email  / Pour contribuer comme Logica au respect de l'environnement, 
>> merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht 
>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  
>> Por favor ajude a Logica a respeitar o ambiente nao imprimindo este 
>> correio electronico.
>>
>>
>>
>> This e-mail and any attachment is for authorised use by the intended 
>> recipient(s) only. It may contain proprietary material, confidential 
>> information and/or be subject to legal privilege. It should not be 
>> copied, disclosed to, retained or used by, any other party. If you 
>> are not an intended recipient then please promptly delete this e-mail 
>> and any attachment and all copies and inform the sender. Thank you.
>>
>>
>>   
>
> ---------------------------------------------------------------------
> 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


RE: How do I send stored login sessionid to send search request with same sessionid?

Posted by "Hembha, Ambanna" <am...@logica.com>.
Hi Jatin thank you, 

Yes i'm getting sessionid with " HTTP URL Re-writing Modifier"!

but how do i pass this while "search" few data after login?


-----Original Message-----
From: Jatin Davey [mailto:jashokda@cisco.com] 
Sent: 18 September 2009 10:33
To: JMeter Users List
Subject: Re: How do I send stored login sessionid to send search request with same sessionid?

Did you record the way your browser does. Could you see using Live HTTP 
Headers whether the browser does change the URL with the SessionID.
If yes then you may have to use HTTP URL Re-writing for this to work.

check this:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_URL_Re-writing_Modifier

Thanks
Jatin

Hembha, Ambanna wrote:
> Hi,
>
>  
>
> How do i send stored login sessionid to send search request with same
> sessiondid?
>
>  
>
> Please help...
>
>  
>
>   
>>  -> One thread group1
>>     
>
>   
>>  -> No.of threads : 100
>>     
>
>   
>>  -> Rampup period: 1
>>     
>
>   
>>  -> Loop Count: 1
>>     
>
>   
>>   -> read the login and password from CVS file send a HTTP Post
>>     
>
>   
>
>   
>>         -> HTTP URL Re-writing Modifier to store the session-id
>>     
>
>   
>>         -> request to login server verify login the result with
>>     
> response
>
>   
>>   -> read the "search" data from CSV file
>>     
>
>   
>>   -> assertion to verify "search" and verify the searched data
>>     
>
>   
>>   -> store results in CVS file
>>     
>
>   
>
>   
>>  I'm unable to "search" with same session id ? (I'm not using cookies)
>>     
>
>   
>
>   
>>  How do I Pass the stored session id - to test "search" feature to
>>     
> validate the response time.?
>
>  
>
> -Ambs
>
>
>
> Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>   

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



Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



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


Re: How do I send stored login sessionid to send search request with same sessionid?

Posted by Jatin Davey <ja...@cisco.com>.
Did you record the way your browser does. Could you see using Live HTTP 
Headers whether the browser does change the URL with the SessionID.
If yes then you may have to use HTTP URL Re-writing for this to work.

check this:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_URL_Re-writing_Modifier

Thanks
Jatin

Hembha, Ambanna wrote:
> Hi,
>
>  
>
> How do i send stored login sessionid to send search request with same
> sessiondid?
>
>  
>
> Please help...
>
>  
>
>   
>>  -> One thread group1
>>     
>
>   
>>  -> No.of threads : 100
>>     
>
>   
>>  -> Rampup period: 1
>>     
>
>   
>>  -> Loop Count: 1
>>     
>
>   
>>   -> read the login and password from CVS file send a HTTP Post
>>     
>
>   
>
>   
>>         -> HTTP URL Re-writing Modifier to store the session-id
>>     
>
>   
>>         -> request to login server verify login the result with
>>     
> response
>
>   
>>   -> read the "search" data from CSV file
>>     
>
>   
>>   -> assertion to verify "search" and verify the searched data
>>     
>
>   
>>   -> store results in CVS file
>>     
>
>   
>
>   
>>  I'm unable to "search" with same session id ? (I'm not using cookies)
>>     
>
>   
>
>   
>>  How do I Pass the stored session id - to test "search" feature to
>>     
> validate the response time.?
>
>  
>
> -Ambs
>
>
>
> Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>   

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