title: Automating URL page redirects and verifying the redirected page
body: <p>I have more than 100's of URL's which will be redirecting (301 redirects) to a new page. Since i do not want to manually verify each link redirection, is there a way any tool/api or script that would aid me in automating these steps.
  Takes input URL, checks for expected URL and gives me the correct HTTP status.</p>
  
  <p>I did try to write a Java webdriver script which reads excel file to fetch Test URL, Expected URL &amp; Actual URL on execution.
  Script opens the browser and checks for the page redirection. Sometimes i need to login into the page to check redirection. I felt the entire program was taking more time to execute for 100's of URL's since its browser(GUI) based...</p>
  
  <p>Any script that can help me check for redirection and HTTP status would be great!</p>
  
  <p>Any feedback greatly appreciated.
  Cheers</p>