List Info

Thread: Looking for broken links




Looking for broken links
user name
2006-11-23 01:28:20

Hello all:

I am working on a test automation project; one of things that I need
to do is find a fast way of looking for broken links in a script.
Since the tool I am using does not easily support this feature, I was
thinking of building a Delphi DLL which would do the following
(somehow). Given a link, make sure the server actually is available,
using the URL base (for example on my own web site, it would check to
make sure that http://www.go-tac.com/ was actually there), and then
try to look for the page itself. I would then call the DLL repeatedly
from the automation tool script.

My thought was to do a 'get' using an HTTP product. If the get
failed, I would know that the link was broken. Clearly, this topic is
not in my round house. I would like to bring as little information
back as possible - speed matters. Is it possible to do a 'HEAD' to
bring back less information? What would be the best way to handle this?

Thanks
jamie

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )