On 28/05/2009, Miklos Tverdota <[email protected]> wrote:
> Hi Sebb,
>
>  My Script ( salesLast.jmx) fails with JMeter 2.3.3.
>
>  I ported some script from 2.3.2 to 2.3.3.
>  The version 2.3.3 sends different cookies to the server. The "new" cookie
> contains the element "$Path=/;".
>  The old version do not has this part.  The HTTP request fails. script
> salesLast.jmx.
>  Cookie type frc 2109

RFC 2109 is the Cookie2 standard which is not widely supported; try
using "compatibility" instead.

There was a bug in JMeter 2.3.2:
"Cookie Manager was not passing cookie policy to runtime threads so
they always used compatibility mode"

This is why the script worked with 2.3.2.

>  Other similar scripts using HTTPS protokol work well.  The cookie does not
> have the element "$Path=/;"  enterpriseLast.jmx.
>
>  Apache JMeter (2.3.20081104)
>
>  Set Cookie:
>
>  Response headers:
>  HTTP/1.1 200 OK
>  Date: Thu, 28 May 2009 06:51:20 GMT
>  Content-Length: 31376
>  Content-Type: text/html; charset=ISO-8859-1
>  Server: Apache
>  Set-Cookie:
> JSESSIONID=cShHKp0L25MyQ8JSgVqY0QVCTfctm1bNn5Lrj4Bbh6ytTD12X2nh!486331731;
> path=/
>  Set-Cookie:
> ATG_SESSION_ID=cShHKp0L25MyQ8JSgVqY0QVCTfctm1bNn5Lrj4Bbh6ytTD12X2nh!486331731!1243493480273;
> path=/
>  Set-Cookie: DYN_USER_ID=913587745; expires=Saturday, 27-Jun-2009 06:51:20
> GMT; path=/
>  Set-Cookie:
> DYN_USER_CONFIRM=72968234ee943f302183e99b5d24905e;
> expires=Saturday, 27-Jun-2009 06:51:20 GMT; path=/
>  Set-Cookie: CARTCOUNT=0; domain=.mmo.de; path=/
>  Vary: User-Agent
>  Via: 1.1 proxy02 (NetCache NetApp/5.6.2), 1.1 vtcproxy2 (NetCache
> NetApp/6.0.5), 1.1 mmoproxy2 (NetCache NetApp/6.0.5)
>
>  Use Cookie:
>
>  GET
> http://ecom1.vfd2-testnet.de/Shop/privat/Alle-Handys/;jsessionid=cShHKp0L25MyQ8JSgVqY0QVCTfctm1bNn5Lrj4Bbh6ytTD12X2nh!486331731
>
>  Cookie Data:
> JSESSIONID=cShHKp0L25MyQ8JSgVqY0QVCTfctm1bNn5Lrj4Bbh6ytTD12X2nh!486331731;
> ATG_SESSION_ID=cShHKp0L25MyQ8JSgVqY0QVCTfctm1bNn5Lrj4Bbh6ytTD12X2nh!486331731!1243493480273;
> DYN_USER_ID=913587745;
> DYN_USER_CONFIRM=72968234ee943f302183e99b5d24905e
>
>  Request Headers:
>  Connection: keep-alive
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  Apache JMeter (2.3.3 r776386)
>
>  Set Cookie:
>  Response headers:
>  HTTP/1.1 200 OK
>  Date: Thu, 28 May 2009 06:54:19 GMT
>  Content-Length: 31376
>  Content-Type: text/html; charset=ISO-8859-1
>  Server: Apache
>  Set-Cookie:
> JSESSIONID=JnG5Kp1bZnYQZznT4kJjdnJHJ012PTxy38G2wLlNmjydNQ37VvCH!486331731;
> path=/
>  Set-Cookie:
> ATG_SESSION_ID=JnG5Kp1bZnYQZznT4kJjdnJHJ012PTxy38G2wLlNmjydNQ37VvCH!486331731!1243493659088;
> path=/
>  Set-Cookie: DYN_USER_ID=913587746; expires=Saturday, 27-Jun-2009 06:54:19
> GMT; path=/
>  Set-Cookie:
> DYN_USER_CONFIRM=a3d2828703f5d4139b4c1133a0d38742;
> expires=Saturday, 27-Jun-2009 06:54:19 GMT; path=/
>  Set-Cookie: CARTCOUNT=0; domain=.mmo.de; path=/
>  Vary: User-Agent
>  Via: 1.1 proxy02 (NetCache NetApp/5.6.2), 1.1 vtcproxy2 (NetCache
> NetApp/6.0.5), 1.1 mmoproxy2 (NetCache NetApp/6.0.5)
>
>
>  HTTPSampleResult fields:
>  ContentType: text/html; charset=ISO-8859-1
>  DataEncoding: ISO-8859-1
>
>  Use Cookie:
>
>  GET
> http://ecom1.vfd2-testnet.de/Shop/privat/Alle-Handys/;jsessionid=JnG5Kp1bZnYQZznT4kJjdnJHJ012PTxy38G2wLlNmjydNQ37VvCH!486331731
>
>  Cookie Data:
>  $Version=0;
> JSESSIONID=JnG5Kp1bZnYQZznT4kJjdnJHJ012PTxy38G2wLlNmjydNQ37VvCH!486331731;
> $Path=/;
> ATG_SESSION_ID=JnG5Kp1bZnYQZznT4kJjdnJHJ012PTxy38G2wLlNmjydNQ37VvCH!486331731!1243493659088;
> $Path=/; DYN_USER_ID=913587746; $Path=/;
> DYN_USER_CONFIRM=a3d2828703f5d4139b4c1133a0d38742;
> $Path=/
>
>  Request Headers:
>  Connection: keep-alive
>
>
>  Regards,
>
>  Miklos Tverdota
>
>
>
> ---------------------------------------------------------------------
>  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]

Reply via email to