It is still not working for me. I have a cookie manager at the thread group
level for all my 20 requests. I added a "cookie manager" as a child for one
request and added two cookies to it. These cookies are not being sent along
with my request. They get sent only if I disable the main "cookie manager"
at the thread group level. I am stuck as it appears like Jmeter does not
support adding a browser cookie for one request in my thread group, when I
want the server cookies for all the rest of my requests.



sebb-2-2 wrote:
> 
> No need to use multiple cookie managers - anyway, they won't work.
> 
> If the server sets a cookie, it will be seen by JMeter (unless you are
> using redirect automatically), and JMeter will send any relevant
> cookies with the next request.
> 
> If you want to add your own cookies, add them to the cookie manager.
> But this is rarely needed.
> 
> Note that there was a problem in 2.3.1 if you selected "Clear cookies
> each iteration".
> 
> Upgrade to 2.3.2 if necessary.
> 
> On 28/09/2008, henryd <[EMAIL PROTECTED]> wrote:
>>
>>  I have tried adding "Cookie" as a header and jmeter does not treat it as
>>  cookie and that does not appear in the outgoing request. I wish I could
>> use
>>  additional "Cookie Managers"  in addition to adding at thread level to
>> add
>>  extra cookies or change cookies to what I am getting by adding it at the
>>  thread level.
>>
>>
>>
>>
>>  Laurent Perez wrote:
>>  >
>>  >> How can I add my own cookies for some requests. If I add it to the
>> cookie
>>  >> manager at the thread level, these cookies get added to all requests.
>>  >
>>  > I believe you can use
>>  >
>> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Header_Manager
>>  > at the HTTP Request level (instead of Thread group level).
>>  >
>>  > So I guess you could create a header named Cookie for each request. If
>>  > cookies values need to be dynamic ones, you could use some post
>>  > processor to extract Set-cookie values from the response and store
>>  > them as variables.
>>  >
>>  > Don't know if this would fit your needs, I never tried this.
>>  >
>>  > laurent
>>  >
>>  >
>>  >>
>>  >> Sincerely appreciate your help.
>>  >> --
>>  >> View this message in context:
>>  >>
>> http://www.nabble.com/Insert-Cookies-for-some-requests-in-a-thread-group-tp19709256p19709256.html
>>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> ---------------------------------------------------------------------
>>  >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  >> For additional commands, e-mail: [EMAIL PROTECTED]
>>  >>
>>  >>
>>  >
>>  >
>>  >
>>  > --
>>
>> >  http://in-pocket.blogspot.com http://in-pocket.blogspot.com
>>  > - Mobile world, technology and more
>>  >
>>
>> > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  > For additional commands, e-mail: [EMAIL PROTECTED]
>>  >
>>  >
>>  >
>>
>>  --
>>
>> View this message in context:
>> http://www.nabble.com/Insert-Cookies-for-some-requests-in-a-thread-group-tp19709256p19712078.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Insert-Cookies-for-some-requests-in-a-thread-group-tp19709256p19723533.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to