Is there a way to perform bulk URLs HTTP status codes and export findings?

8 posts, 1 answers
  1. Galina
    Galina avatar
    5 posts
    Member since:
    Sep 2014

    Posted 04 Sep 2014 Link to this post

    I have been using Fiddler to tract redirects/404 and other HTTP
    status codes by inputting URL to the composer.

    It is very manual and repetitive task when checking multiple
    URLs, so I wonder does anybody know how to perform bulk URL check? Is there a
    way to import/export URL lists?

    Thanks!
    Regards,
    Galina
  2. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 05 Sep 2014 Link to this post

    Hi,

    There are many ways to accomplish this. The simplest would be to just perform your tests manually once. Then, click File > Save > All Sessions in Session Archive Zip.

    Later, load that file using the File > Load command, select all of the Sessions (e.g. by hitting CTRL+A) and press the "V" key or right-click and choose Replay>Reissue and Verify. This will resend all of the requests and highlight them if their response code or response contents change.

    Regards,
    Eric Lawrence
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Galina
    Galina avatar
    5 posts
    Member since:
    Sep 2014

    Posted 08 Sep 2014 in reply to Eric Lawrence Link to this post

    Hi Eric,

    Thanks for your response.

    I have checked out the import/export feature but I still can
    not figure out what would be the best way to accomplish the tests.

    Basically I have site map XML that contains about 5000 URLs
    and can only get that in XML schema or export to cvs format (from the site
    crawl, but it does not help to identify full HTTP redirects etc). Furthermore,
    site map is pretty dynamic and changes a lot, hence even if I did manually
    inputted all 5000 links and saved the session, the exported file would get
    dated very fast.

    netXML or TestStudio load test formats do not seem to be an answer
    either, unless I am using them wrong.

    Hence I can not figure out what could be the answer to these
    monthly tests, as at the moment I am just using other vendor’s option that allows
    to import and validate 500 URLs at a time, but hoped I could achieve something
    more efficient with the fiddler.

    Thanks for your help on this!

    Regards,

    Galina

     
  4. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 10 Sep 2014 Link to this post

    You probably don't need to use Import/Export at all.

    1> Run your tests once however you do it. Use Fiddler to capture the test running.
    2> File > Save All Sessions. This will save the test requests in a SAZ file.

    3> Later, to rerun the test, choose File > Load Archive and choose the SAZ file. All of the traffic will load.
    4> Select all of the Sessions in the Web Sessions list (e.g. by clicking it and hitting CTRL+A)
    5> Hit the "V" key on your keyboard. All of the Selected sessions will be replayed.
    6> Amongst the results, you can sort the Result column to find any results which are not as expected (e.g. http/200).

    You can easily copy those lines out to a program like Excel. Select them, right click, and choose "Copy > Full Summary"



    Regards,
    Eric Lawrence
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. Galina
    Galina avatar
    5 posts
    Member since:
    Sep 2014

    Posted 17 Sep 2014 in reply to Eric Lawrence Link to this post

    Eric,

    Thank you for your support and advice on this issue! 

    Regards,
    Galina
  6. Galina
    Galina avatar
    5 posts
    Member since:
    Sep 2014

    Posted 26 Sep 2014 in reply to Eric Lawrence Link to this post

    Hi Eric,

    Now I have noticed further issue with replaying the sessions. It does not replay redirects fully.

    When checking redirects, If I only leave original URLs (remove the destination ones) and replay it,
    the link that is a redirect just returns that one line (301) and not the full set of 301 > 200.

    I have tried all available replay options and have checked forums but was not able to locate discussion about this matter.

    Is there a way to replay all imported sessions as the composer would and see the full response codes?
  7. Answer
    Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 26 Sep 2014 Link to this post

    I'm not sure why you'd want to "remove the destination ones" from the list.

    However, if you must do that for whatever reason, go to the black QuickExec box beneath the Web Sessions list and type

       prefs set fiddler.reissue.autoredircount 10

    and hit Enter. Fiddler will subsequently chase up to 10 redirects when reissuing a request.

    Regards,
    Eric Lawrence
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  8. Galina
    Galina avatar
    5 posts
    Member since:
    Sep 2014

    Posted 07 Oct 2014 in reply to Eric Lawrence Link to this post

    This is very helpful Eric! Thank you for your assistance!

    Regards,
    Galina
Back to Top