Hi Sonam.

I've just commited a fix that should fix this bug.

Can you please update from CVS, rebuild, and give it a try?

Thanks,

Jordi.

En/na Sonam Chauhan ha escrit:
[ Jordi suggested I post this here ]

The CVS version of JMeter (checked out on Dec 8) has a problem with HTTP
redirects. It seems to use POST data from the initial request when
requesting the redirect URL.

Below are sample sessions using JMeter 1.9.20031208 (CVS Dec 8) and JMeter
1.9.1. I cut/pasted the content of the Request/Response panes in the 'View
Results Tree' step.


Session testing HTTP redirects - using JMeter CVS Dec8.
=======================================================
Request #1: POST http://SERVER/invoke/CEShoppingSession.handler.au.OCI/entry
Query data:
USERNAME=...&PASSWORD=...&HOOK_URL=...


Response #1:
[ An HTTP 302 is issued to redirect to:
http://ANOTHER_SERVER/login?attach=87d7dd0c6a....
But the HTTP response headers do not show in JMeter 'Response Data' pane ]
[ Response Body...]


------------------------------------------
Request #2: GET http://ANOTHER_SERVER/login?attach=87d7dd0c6a....


Response #2: [ Error from the remote server suggests the following URL was asked for:
http://ANOTHER_SERVER/login?USERNAME=...&PASSWORD=...&HOOK%5fURL=...


(i.e. the redirect URL with the *old* POST data ] =======================================================



Here is the same session (same JMX file) - using JMeter 1.9.1:
=======================================================
Request #1: POST http://SERVER/invoke/CEShoppingSession.handler.au.OCI/entry
Query data:
USERNAME=...&PASSWORD=...&HOOK_URL=...


Response #1:
HTTP/1.0 302 Found
Location: http://ANOTHER_SERVER/login?attach=fbd8db27fcd79...
Content-Type: text/html; charset=UTF-8
Connection: Keep-Alive
Content-Length: 1328

[ Response Body...] ------------------------------------------
Request #2: http://ANOTHER_SERVER/login?attach=fbd8db27fcd7...
Cookie Data:
null


Response #2: [ Normal Response ]
=======================================================


Another problem I saw in the CVS version is the 'View Results Tree' view no
longer displays HTTP response headers.

With regards,
Sonam Chauhan


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



Reply via email to