[ptt-users] Problem with HTTPProtocol.connect(1)

Frank Cohen fcohen at pushtotest.com
Tue Nov 21 14:26:33 PST 2006


Sorry about that clipped message Aaron. I hit the "send" button too  
quickly! :-)

Browsers handle redirects differently. I proposed creating an option  
in the HTTPProtocol handler to emulate different browser behaviors.  
I'm still wanting to do so but I have my hands full with TestMaker 5  
work for the moment. The work entails modifying HTTPProtocol.java to  
add the domain name and document preamble to the redirected site when  
emulating MS Explorer. There are also some use cases to support when  
redirects go from https to http URLs. If anyone wants to do this work  
I'm happy to get it integrated into the next TestMaker maintenence  
distribution.

-Frank





On Nov 21, 2006, at 12:02 PM, Aaron Romeo wrote:

> OK Frank...
>
> Any idea how people have resolved this in the past?  Will I be  
> forced to
> have to handle the redirects manually?
>
> Thanks,
> Aaron.
>
> -----Original Message-----
> From: users-bounces at lists.pushtotest.com
> [mailto:users-bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
> Sent: Tuesday, November 21, 2006 3:00 PM
> To: TestMaker users list
> Subject: Re: [ptt-users] Problem with HTTPProtocol.connect(1)
>
> Hi Aaron: I've taken a look at this in the past and found that the
> browsers handle redirects differently.
>
>
>
> On Nov 21, 2006, at 8:11 AM, Aaron Romeo wrote:
>
>> Hello,
>>
>> I have a problem with the HTTPProtocol.connect(1) function.
>>
>> The website I am testing uses a path to redirect.  For example, if
>> the base
>> URL is www.myurl.com, the first page might be www.myurl.com/
>> default.html.
>> On this page, I have another link that links me to second.html.
>> The browser
>> can identify that I am referring to www.myurl.com/second.html.
>> However
>> TestMaker doesn't contain my base and host URL anymore.  It has
>> also lost
>> the protocol.
>>
>> Can someone tell me how I can get around this?  I would really like
>> to have
>> TestMaker handle my redirects for me.
>>
>> Thanks,
>> --
>> Aaron Romeo
>> _______________________________________________
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>



More information about the Users mailing list