Hi Trent,

just set the log level to debug, you will see what WebTest receives as response B. If it is an http redirect, you will see a 30x http code in the header. Otherwise you will see what the html code of B contains. If the "redirect" is performed with js, you should be able to stay stuck on B with a normal browser when deactivating js.

Marc.

Trent Rossiter wrote:
Unfortunately, I am unable to determine this; site B and C are 3rd party sites 
and I don't have the source for them.

Are there some tricks that I can try one by one until I find one that works.



-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Marc Guillemot
Sent: Sun 9/24/2006 3:21 PM
To: [email protected]
Subject: [Webtest] Re: redirects
Hi Trent,

how is the redirection performed between B and C? Http redirect, meta refresh, js?

Marc.

Trent Rossiter wrote:
I am not sure I understand that question, but I will try to answer it anyway. I have a page that contains a link, to page B. When browsing, I can click on this link, it takes me to page B, but then redirects me to a Page C. I want to verify that page C is loaded when runnign my canoo test, hopefuly by using the verifyDocumentURL tag. The problem is that when I use canoo, the url that I get is that of page B.
My question, is how can I get webtest to see page C?

Trent

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Marc Guillemot
Sent: Sun 9/24/2006 4:11 AM
To: [email protected]
Subject: Re: [Webtest] redirects
Hi,

can you precise what you understand with "a link that does a redirect"?

Marc.

Trent Rossiter wrote:
I am writing a test for a link that does a redirect, but my canoo test only sees the url from the original document (the one prior to the redirect).

I have tried the <sleep> step (which is not listed in the step index) and tried to do several retries, hoping that the redirect was just taking it's time, but that doesn't work.

I tried making sure JavaScript was enabled just to make sure, but that didn't work either.

Finally I tried to check the title, rather than the url, but it too is fails.

Any ideas?

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to