Color highlighting of incoming traffic

2 posts, 0 answers
  1. Stian
    Stian avatar
    1 posts
    Member since:
    Oct 2014

    Posted 21 Oct 2014 Link to this post

    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
  2. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 21 Oct 2014 Link to this post

    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.

     
Back to Top