On 04/11/2007, sandeep dhingra <[EMAIL PROTECTED]> wrote:
> Hi,
> While creating my script in jmeter,my problem is how can we manually
> build a cookie in jmeter.

Why would you want to create your own cookie?

Normally the cookie is sent by the server, and handled automatically
by JMeter - provided that you have a Cookie Manager in your test plan.

> If I use jmeter request,the cookie which is built is
>  jc=nus:Software+sEngineer+s-+sInternationalization+s(i18n)+s-+sMountain+sView
> However,cookie from the browser is:
>  
> jc=nus:Software+sEngineer+s-+sInternationalization+s(i18n)+s-+sMountain+sView;
> S=jobcart=fIYumdJjdtY
>  the additional part is S=jobcart=fIYumdJjdtY.This is causing server
> not sending back the desired response.Is there a way to send this
> additional dynamic content.
> I also want to add the following information about the set Cookie
> headers in previous request
> Set-Cookie: jc=; Path=/jobs/application/
> Set-Cookie: 
> jc=nus:Software+sEngineer+s-+sInternationalization+s(i18n)+s-+sMountain+sView;
> Path=/jobs/application/
> Set-Cookie: S=jobcart=fIYumdJjdtY; Domain=.google.com; Path=/
> It seems like jmeter has not set the cookie as the header defined a
> path in different domain but howcome browser is taking it.I need a way
> so that jmeter should take it too

This should happen automatically if you add a Cookie Manager to the test plan.

> Regard,
> Sandeep
>
>
>
>
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

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

Reply via email to