This is a migrated thread and some comments may be shown as answers.

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

7 Answers 389 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Galina
Top achievements
Rank 1
Galina asked on 04 Sep 2014, 03:44 PM
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

7 Answers, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 06 Sep 2014, 12:31 AM
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.

 
0
Galina
Top achievements
Rank 1
answered on 08 Sep 2014, 01:37 PM
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

 
0
Eric Lawrence
Telerik team
answered on 10 Sep 2014, 12:45 PM
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.

 
0
Galina
Top achievements
Rank 1
answered on 17 Sep 2014, 08:19 AM
Eric,

Thank you for your support and advice on this issue! 

Regards,
Galina
0
Galina
Top achievements
Rank 1
answered on 26 Sep 2014, 10:20 AM
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?
0
Accepted
Eric Lawrence
Telerik team
answered on 26 Sep 2014, 02:27 PM
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.

 
0
Galina
Top achievements
Rank 1
answered on 07 Oct 2014, 09:17 AM
This is very helpful Eric! Thank you for your assistance!

Regards,
Galina
Tags
Fiddler Classic
Asked by
Galina
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Galina
Top achievements
Rank 1
Share this question
or