Testing URLs in groovy

Posted by srinath on Stack Overflow See other posts from Stack Overflow or by srinath
Published on 2010-03-14T16:10:44Z Indexed on 2010/03/14 16:15 UTC
Read the original article Hit count: 315

Filed under:
|

Hi all,
How can we check whether urls are working or not in groovy?
when we click a button, i will get all the urls from existing db from 'urls' table and need to check which url is working
Ex: http://baldwinfilter.com/products/start.html - not working
http://www.subaru.com/ - working
and so many urls from db.

My aim is to get all urls and check which one is working and which is not .
do we need to check on the status it returns ??
Can any one help me giving idea ...

thanks in advance sri...

© Stack Overflow or respective owner

Related posts about groovy

Related posts about urls