Re: [Http-webtest-general] Checking links in the document
Brought to you by:
m_ilya,
richardanderson
From: William M. <wi...@kn...> - 2004-03-24 16:06:08
|
On Tue, Mar 23, 2004 at 11:05:12PM -0800, Carlos Ramirez wrote: > ::LinksTest module update: > * Added match_links = (regex1 regex2) > * Added ignore_links = (regex1 regex2) Thanks! Unfortunately, I'm not having any luck with it. Here are the formats I've tried: ignore_links = (qr/LOGIN/) ignore_links = ('LOGIN') ignore_links = (LOGIN) The url being tested is 'form: https://quicktel:8443/LOGIN'. What am I doing wrong? > * Changed LWP requests to GET instead of HEAD requests. My redirect page still fails with a 403. It's easy enough to use ignore_links to skip this error. > * Only checks unique links now. I noticed that it was checking > duplicate links if they existed in the document. Cool. > The results now reports the total count of UNIQUE links in the document, > count of tested links, and the failure count. Sample output: > > 8 links found, 3 tested. Failed: 0. My only comment about this format is that it doesn't clearly indicate that only 3 were tested because the others were dupes. How about something like the following: 8 links found, 3 unique links tested. Failed: 0. > Ilya already added this module to CVS, so it will be included in the > next release. If you want to test it, here is the source: Great. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com |