Matching Rules

How to define extra rules to match requests

Answers: How to relax constraints when matching requests?

Match rules only apply to mocking mode.

Matching rules allow you customize which component categories of a request are used for matching. By defualt, only request query params and body are used for matching. Request method and path are required for matching and not configurable.

Rule Configuration


HTTP verb(s) the rule applies to such as GET, POST, DELETE, etc.


Pattern to match with the request URL to apply the rule to. This supports regular expressions.


Which components of the request to match on, such as header, body, and query param.

Modes Applied To

Which agent mode to apply the firewall rule to such as mock.

Last updated