Fiddler Tips

Fiddler is a very useful tool. Some tips

1. Inspectors and Filters Tabs

The most useful tabs for me are ‘Inspectors’ and ‘Filters’.  Note you can use localhost as a filter when trying to debug applications on the local machine.

Check this out.

 

Fiddler.JPG

 

2. Composer

The composer makes it pretty easy to compose requests

3. Fiddler with CURL

When we use curl at the command line to access websites, the traffic doesn’t show up in Fiddler. This is because curl doesn’t use the system proxy by default.  Try this:

curl -x 127.0.0.1:8888 http://www.get.this/

This tells CURL to use Fiddler (on localhost port 8888) as a proxy.

4. HTTPS Traffic

Then there was this other issue where Fiddler would not capture HTTPS traffic.

  • Initially I tried several options, including revert certificate etc none of which worked.
  • I finally decided to so some certificate troubleshooting.
    • http://fiddler.wikidot.com/certfix
    • After installing that Certificate Generator Plugin, things suddenly started working!
    • The one thing I did note is that the ‘Certificate generated by’ had changed.
  • Not quite sure why the issue got resolved. But for now I was able to get past the problem. Phew!

 

capture

 

References:

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s