jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <flaviocy...@gmail.com>
Subject Re: cookies not always set
Date Mon, 22 Apr 2013 12:40:34 GMT
Did you capture all the HTTP Requests or are executing only the ones
returning HTML code (.jsp, .xhtml, .jsf, .php, .html, etc)?

On the subsequent HTTP Request, in View Results Tree, COOKIE (not
Set-Cookie) header's parameter is present or absent?

Is there any variable used on those requests there are not working?
Maybe, some values could result in a bad HTTP Request.

What HTTP return code and message is been send by server in that case (in
that 1-4 ou of 10 threads that do not work)?

BTW, in what JMeter version?


2013/4/22 Léon Keijser <keijser@stone-it.com>

> Hi,
>
> I have defined a testplan for a Magento site, on which I let a thread log
> in, add an item to the cart and do a checkout. This works for about 6-9 out
> of 10 threads. When I inspect the Sampler Result (in View Results Tree) for
> a failed thread, I notice that a certain cookie isn't set.
>
> This one works:
>
> Set-Cookie: frontend=jdrr6pk5e0qs8g75vjcrr2a4v1; expires=Mon, 22-Apr-2013
> 12:55:03 GMT; path=/; domain=mydomain.fr; httponly
> Set-Cookie: cart_checksum=38c055dfb16efe80795b3411cc0cc294; expires=Mon,
> 22-Apr-2013 12:55:07 GMT; path=/; domain=mydomain.fr
>
> This one doesn't:
>
> Set-Cookie: frontend=m9uops17fbpreo0qf0i5nd6bs3; expires=Mon, 22-Apr-2013
> 12:55:09 GMT; path=/; domain=mydomain.fr; httponly
>
> The cookie manager within the thread group is set as:
>
> Clear cookies each iteration = on
> Cookie policy = compatibility
> Implementation = HC3CookieHandler
>
> Anyone got some advice?
>
> Thanks in advance!
>
> regards,
>
> Léon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message