Marking Static Resources

You can dynamically change the Fiddler Everywhere user interface based on your preferences. You can highlight matched sessions through the Mark Sessions action and set their background and text color. For example, you can highlight all sessions that are returning static resources like images and text files.

Creating a "Mark Scripts and JSONs" Rule

Create a "Mark Scripts and JSONs" rule by setting the following actions through the Rules Builder.

  1. Create a matching condition that uses the "When all these conditions are met any number of times" pattern.

  2. Match by a Response Header where the header Content-Type is not empty. This matches any sessions where the header is present and has any value.

  3. Match by a Response Header where the value of the header Content-Type does not equal javascript. This excludes dynamic content.

  4. Match by a Response Header where the value of the header Content-Type does not equal json. This excludes dynamic content.

  5. Match by Method of type GET.

  6. Create a Mark Session action and set the preferred background and foreground (text) colors.

This sample Fiddler rule highlights all HTTP sessions where the Content-Type header values are of static type.

Creating "Mark Static Resources" rule

Once the rule is created, enable the Rules tab, toggle the rule switch, and start capturing traffic.

Activating the "Mark Static Resources" rule

You can create the rule and then use the Play button to immediately apply the new UI effect to all captured sessions in the Live Traffic grid.

Download a ready-to-use "Mark Static Resources" rule as a FARX file, which you can import through the Rules toolbar.

See Also