Re: [tclwebtest] Can't use do_request with a dotted decimal URL
Grzegorz Adam Hankiewicz <[email protected]> Thu, 24 Jul 2003 10:31:29 +0200
| Newsgroups | gmane.comp.web.tclwebtest |
|---|---|
| Message-ID | <[email protected]> |
On 2003-07-23, "Molek, Gordon" <[email protected]> wrote: > I'm evaluating tclwebtest and can call do_request > with a "<file://....>; URL, or a domain name URL (e.g., > "<http://www.google.com>;), but if I specify a URL using dotted > decimal notation (e.g., "<http://216.239.39.99>;) the do_request > call doesn't return a token (there's no error message displayed). I suspect you are not using a recent version? Could you provide a test case? I have tried the following test case with 0.3 which correctly shows the latter output: -- test unit set blah [do_request http://192.168.1.50:8014] log [response text] log "JJJJJJJJJJJJJJJJJJJJJJJJ $blah" set blah [do_request http://216.239.39.99] log [response text] log "KKKKKKKKKKKKKKKKKKKKKKK $blah" -- resumed output ----- START: test at [24/jul/2003:10:28:26] ----- --- do_request for http://192.168.1.50:8014 http status: >>302<< following a redirect to: http://192.168.1.50:8014/index --- do_request for http://192.168.1.50:8014/index http status: >>302<< following a redirect to: http://192.168.1.50:8014/cpub --- do_request for http://192.168.1.50:8014/cpub http status: >>302<< following a redirect to: http://192.168.1.50:8014/cpub/ --- do_request for http://192.168.1.50:8014/cpub/ http status: >>302<< following a redirect to: http://192.168.1.50:8014/cpub/index --- do_request for http://192.168.1.50:8014/cpub/index http status: >>200<< [here some text from local test server] JJJJJJJJJJJJJJJJJJJJJJJJ http://192.168.1.50:8014 --- do_request for http://216.239.39.99 http status: >>200<< Google English Web Images Groups Directory News document.f.q.focus(); blah blah blah blalh KKKKKKKKKKKKKKKKKKKKKKK http://216.239.39.99 ----- SUCCESS: test (took 1s) ----- DURATION: 1 PD: Til, this time Google didn't throw me back. Maybe they lifted the tclwebtest user agent restriction... -- Grzegorz Adam Hankiewicz, [email protected] Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01