Two additional filter rules in Fiddler

Source: Internet
Author: User

1. Open the Fiddler Rules menu and click Customize Rules ...

2. Under Handlers this class, add

public static rulesoption ("Display 404 Request")varbooleanfalse;p ublic Static rulesoption ("Display Size > 1M Request")varbooleanfalse;

3. Add below the static function Onbeforeresponse (Osession:session) method

1 if(m_filter404 && osession.responsecode = = 404){2     return;3 }4 if(M_filterbigresponse && oSession.ResponseBody.Length >= 1024 *1024){5 return;6 }7 if(m_filter404 | |m_filterbigresponse) {8osession["ui-hide"] = "true";9}

4. After opening the fiddler, tick these two rules.

-The first rule is used to filter out all 404 requests

-The second rule will fetch requests over 1M to facilitate tracking performance

Two additional filter rules in Fiddler

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.