In Fiddler, how do you filter requests and why would you want to do it?
Experience Level: Junior
Tags: FiddlerTools
Answer
- When you capture HTTP traffic, Fiddler captures all HTTP traffic from all applications running on your computer.
- This generates too much noise, because you are usually interested only in traffic from one application (browser) or traffic that is sent to a specific server.
- In Fiddler the Filters can be used to define what traffic will be capured and what traffic should be filtered out.
To enable Filtering
- Click on tab Filters
- Check Use Filters
- Set your preferred filer, for example Show only if URL contains {your keyword}
- The filter will be applied to all traffic captured from now on, but the existing captured traffic that is already present in the Session List won't be affected.
- To apply the filter to existing traffic that was captured earlier, click Actions-Run Filterset now
Related Fiddler job interview questions
Using Fiddler, how do you identify if the submitted request failed or succeded?
FiddlerTools JuniorHow do you clear a session list in Fiddler?
FiddlerTools JuniorWhen would you use Headers request inspector and what information is it giving you?
FiddlerTools JuniorWhat request inspectors does Fiddler contain?
FiddlerTools JuniorUsing Fiddler, how can you replay a request multiple times?
FiddlerTools Junior