jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Watrous <>
Subject Re: cookie manager not working
Date Thu, 02 Jun 2011 15:41:04 GMT
I think it's a bit premature to suggest that WordPress is broken. It
is used on tens of millions of sites and people are able to login fine
every day.

Is there a jobs board for jmeter where I could hire a guru to get my
tests going?


On Thu, Jun 2, 2011 at 9:35 AM, Bruce Ide <> wrote:
> Jmeter's doing the right thing. If you're testing wordpress, file a bug with
> them and tell them to fix their thing. If you're running an application
> server yourself, I'd suspect it's something wrong with your application
> server config.
> You have the jmeter source, you could always change its behavior to do what
> you want and recompile it. I'd start with
>        while (cookies.hasNext()) {
>            Cookie cook = (Cookie);
>            final long expiresMillis = cook.getExpiresMillis();
>            if (expiresMillis == 0 || expiresMillis > now) { // only save
> unexpired cookies
>                writer.println(cookieToString(cook));
>            }
>        }
> Well there's your problem! I can't guarantee that's the only thing that
> prevents expired cookies from being sent. I suspect there's probably also
> some code in httpclient that checks to see if they're expired before sending
> them back.
> I'd be really hesitant to change the behavior of the test environment to
> mask a bug you uncovered, though. Sending expired cookies IS a bug, and it's
> something the guys running the server should fix.
> --
> Bruce Ide

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message