Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [maxq-dev] Anyone working on fixing the follow redirects?

maxq
Discussion topic

Back to topic list

Re: [maxq-dev] Anyone working on fixing the follow redirects?

Author fcohen
Full name Frank Cohen
Date 2004-07-22 11:29:04 PDT
Message Browsers handle HTTP redirects differently, especially when the
redirect goes from an HTTP to HTTPS connection. TestMaker uses the
HTTPUrlConnection class in Java and I've been thinking about creating a
browser profile to control how redirects are processed. I haven't
gotten very far on it. -Frank




On Jul 22, 2004, at 11:20 AM, hdara at primavera dot com wrote:

> Currently the follow redirects are not recorded and are disabled at
> runtime. This causes a serious limitation for us, because, unless
> certain
> URLs are accessed, the resources on the server are not created, so the
> subsequent requests on the resource will fail. I would like to get this
> fixed, but if someone is already working on it, I would like to work
> with
> them to avoid duplicating the effort.
>
> Also I am not very much sure why recording of redirects was disabled. I
> think I saw somewhere in the code a FIXME with an explicit disable of
> this. All I can think of was that the old HTTPClient library didn't
> provide control to the programmer on how the redirects should be
> handled,
> so recording them resulted in duplicate requests and even worse,
> incorrect
> status codes. If commons HttpClient has better control on handling
> redirects, is it not easy enough to enable this part of the code
> again? I
> will be very much interested to here any thoughts from those who knew
> the
> original problem and has ideas on how to get it working with the new
> library.
>
> I think this change will break the old scripts, so we will probably
> have
> to encode this information in the script (like an explicit call to
> enable
> the feature).
>
> Thank you,
> Hari
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe at maxq dot tigris dot org
> For additional commands, e-mail: dev-help at maxq dot tigris dot org
>
>
---
Frank Cohen, PushToTest, http://www.PushToTest.com, phone: 408 374 7426
Author of "Java Testing and Design: From Unit Tests to Automated Web
Tests"
from Prentice Hall, details at http://thebook.pushtotest.com


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at maxq dot tigris dot org
For additional commands, e-mail: dev-help at maxq dot tigris dot org

« Previous message in topic | 2 of 6 | Next message in topic »

Messages

Show all messages in topic

[maxq-dev] Anyone working on fixing the follow redirects? hdara at primavera dot com hdara at primavera dot com 2004-07-22 11:20:07 PDT
     Re: [maxq-dev] Anyone working on fixing the follow redirects? fcohen Frank Cohen 2004-07-22 11:29:04 PDT
         Re: [maxq-dev] Anyone working on fixing the follow redirects? hdara at primavera dot com hdara at primavera dot com 2004-07-22 15:57:31 PDT
             Re: [maxq-dev] Anyone working on fixing the follow redirects? hdara at primavera dot com hdara at primavera dot com 2004-07-23 12:40:12 PDT
                 Re: [maxq-dev] Anyone working on fixing the follow redirects? henrik dot westman at uk dot bnpparibas dot com henrik dot westman at uk dot bnpparibas dot com 2004-07-26 00:49:07 PDT
                     Re: [maxq-dev] Anyone working on fixing the follow redirects? hdara at primavera dot com hdara at primavera dot com 2004-07-26 10:16:54 PDT
Messages per page: