Thanks Jordi and Seb. You've covered all the points I had in my initial
email. 

With regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
 

> -----Original Message-----
> From: Sebastian Bazley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 9 December 2003 12:09 PM
> To: JMeter Developers List
> Subject: Re: HTTP redirect problem with CVS version
> 
> ----- Original Message -----
> From: "Sonam Chauhan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 08, 2003 11:14 PM
> Subject: HTTP redirect problem with CVS version
> 
> > [ 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 ]
> 
> Agreed - see below
> 
> > [ 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=...&amp;PASSWORD=...&amp;HOOK%5fURL
=.
> ..
> >
> >   (i.e. the redirect URL with the *old* POST data ]
> 
> Sorry, I don't know anything about this.
> 
> > =======================================================
> >
> >
> >
> > 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
> >
> 
> View results no longer shows Cookie data if it is 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.
> >
> 
> Agreed.
> 
> There were problems displaying HTML in the ResponseData pane that I
> thought might be related to storing the headers there,
> so I removed them, intending to show them in a different pane. But I
> forgot ... I've now added them to the status pane (bottom left)
> which contains related data.
> 
> I think there are still some other areas that need tidying up here -
when
> there are redirects, the tree now shows two copies of the
> full response data, as far as I can tell - not sure if this is
intended or
> not.
> 
> S.
> 
> 
> ---------------------------------------------------------------------
> 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