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

Filter on JSON contents?

1 Answer 541 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 29 Aug 2017, 03:57 PM

Is it possible to filter requests based on the contents of JSON?

I have multiple JSON requests coming from the same host, URL, etc. and just want to filter out 1 particular type.

Essentially there is scroll tracking that is triggered constantly while trying to conduct QA for page load and click tracking, and it is just annoying :)

Is this possible through FiddlerScript?

The information I want to filter out:

JSON > data > baseData > actionType=S

1 Answer, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 04 Sep 2017, 04:51 PM
Hello,

Sorry for the late reply. Yes, it is possible to filter requests based on the contents of JSON with FiddlerScript.

Here is a link about how FiddlerScript works. You can modify the OnBeforeRequest function in your script in order to add a "ui-hide" Session Flag to all sessions of requests you are not interested in. Here is a link to some more session flags and what they do. And here is a link explaining how to modify requests and responses in case you need to do so.

Regards,

Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
Justin
Top achievements
Rank 1
Answers by
Simeon
Telerik team
Share this question
or