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

Color highlighting of incoming traffic

1 Answer 882 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Stian
Top achievements
Rank 1
Stian asked on 21 Oct 2014, 06:32 AM
Hi there and thanks for this great tool!

Is it possible to highlight incoming/outgoing sessions other than using bold?
For example, I would like all requests with "error.gif" in them to have a yellow background color so I can easily spot them when they pop up.

Ideally, I would like to simply right-click a session, mark it with a color and have all future similar sessions be highlighted with the same color.

Kindly,
Stian

1 Answer, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 21 Oct 2014, 01:53 PM
The problem with the interface you propose is how exactly Fiddler would identify a "similar" session-- there are an infinite number of criteria you could choose.

Fortunately, you can specify such criteria yourself.

E.g. Click Rules > Customize Rules. Scroll to OnBeforeRequest and add:

  if (oSession.uriContains("error.gif"))
  {
    oSession["ui-backcolor"] = "yellow";
    oSession["ui-color"] = "#000000";
  }


Save the file and all future requests whose URL contains "error.gif" will show in black on yellow. You can obviously customize the colors and identification criteria to taste.

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.

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