Response Modification — Cancel Rule

Getting Started
Installation
Setup
Inspect Traffic
HTTP Rules (Modify Traffic)
Session Book
Mock Server
API Client
File Server
Workspace
Public API
Guides
TroubleShooting
Subscription & Billing
Getting Started
Installation
Setup
Inspect Traffic
API Client
HTTP Rules (Modify Traffic)
Mock Server
File Server
Workspace
Public API
Guides
Session Book
Subscription & Billing
TroubleShooting
 

Cancel Rule

Cancel Rule is primarily used for blocking requests to avoid distraction.
notion image
  1. Source Condition: Source condition is where you set criteria for the rules. You can use URLHost or Path with RegexContainsWildcard or Equals to match the source request. Learn more about source conditions here.
  1. Source Filters : You can define better targeting conditions and restrict rules to be applied on specific webpages (or domains), request types, request methods, or request payload. Learn more about source filters here.

Popular Use Cases

  • Blocking Websites — You can use Cancel Rule to avoid distraction by blocking websites e.g. youtube, twitter, facebook.
  • Testing error scenarios - Test your app when certain resource is not loaded. You can use Cancel rule to block a certain request which is not mandatory in your app and test how your app behaves without that specific resource.