๐Ÿš…
Requestly
/
Cancel Rule

Cancel Rule

ย 

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ย URL,ย Hostย orย Pathย withย Regex,ย Contains,ย Wildcardย 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.
ย