Filter on JSON contents?

2 posts, 0 answers
  1. Justin
    Justin avatar
    1 posts
    Member since:
    Aug 2017

    Posted 29 Aug 2017 Link to this post

    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

  2. Simeon
    Admin
    Simeon avatar
    116 posts

    Posted 04 Sep 2017 Link to this post

    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
Back to Top