Count requests by criteria
Count requests logged in the journal matching the specified criteria
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the Mock API
Body
The scheme (protocol) part of the request URL
http
, https
The hostname part of the request URL
The HTTP port number of the request URL
The HTTP request method e.g. GET
The path and query to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified.
The path to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified.
The path regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified.
The path and query regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified.
Path parameter patterns to match against in the <key>: { "<predicate>": "<value>" } form. Can only be used when the urlPathPattern URL match type is in use and all keys must be present as variables in the path template.
Query parameter patterns to match against in the <key>: { "<predicate>": "<value>" } form
application/x-www-form-urlencoded form parameter patterns to match against in the <key>: { "<predicate>": "<value>" } form
Header patterns to match against in the <key>: { "<predicate>": "<value>" } form
Pre-emptive basic auth credentials to match against
Cookie patterns to match against in the <key>: { "<predicate>": "<value>" } form
Request body patterns to match against in the <key>: { "<predicate>": "<value>" } form
Custom request matcher to match against
Multipart patterns to match against headers and body.