7 messages in com.canoo.lists.webtestRE: [Webtest] Re: redirects| From | Sent On | Attachments |
|---|---|---|
| Trent Rossiter | 21 Sep 2006 13:51 | |
| Marc Guillemot | 24 Sep 2006 01:10 | |
| Trent Rossiter | 24 Sep 2006 09:30 | .dat |
| Marc Guillemot | 24 Sep 2006 12:21 | |
| Trent Rossiter | 25 Sep 2006 05:21 | .dat |
| Marc Guillemot | 25 Sep 2006 05:29 | |
| Trent Rossiter | 25 Sep 2006 06:43 | .dat |
| Subject: | RE: [Webtest] Re: redirects![]() |
|---|---|
| From: | Trent Rossiter (tren...@amentra.com) |
| Date: | 09/25/2006 06:43:28 AM |
| List: | com.canoo.lists.webtest |
| Attachments: | ![]() winmail.dat - 5k |
I found a solution.
When I used the autorefresh="true" in the configuration, it followed the
redirect just fine.
Thanks for your help.
Trent
-----Original Message----- From: webt...@lists.canoo.com on behalf of Marc Guillemot Sent: Mon 9/25/2006 8:30 AM To: webt...@lists.canoo.com Subject: Re: [Webtest] Re: redirects
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: webt...@lists.canoo.com on behalf of Marc Guillemot Sent: Sun 9/24/2006 3:21 PM To: webt...@lists.canoo.com 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: webt...@lists.canoo.com on behalf of Marc Guillemot Sent: Sun 9/24/2006 4:11 AM To: webt...@lists.canoo.com 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 WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest





.dat