Thanks Jordi and Seb - I checked out CVS version 1.9.20031210 - it works beautifully.
Jordi - The redirect now use the correct POST data Seb - I see the cookie data and HTTP response headers in the pane on lower right. The pages, which were not rendering before when I clicked 'Render HTML' are now rendering. Looks great guys - thanks for all the help. With regards, Sonam Chauhan -- Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED] > -----Original Message----- > From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 10 December 2003 3:07 AM > To: JMeter Developers List > Subject: Re: HTTP redirect problem with CVS version > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
