https://linen.dev logo
#help
Title
a

Arun Gopalpuri

07/15/2023, 4:42 PM
In Wiremock if we want to check that
all requests
have an header (global check) in standalone mode, how can we do it? One way I can see is to write a Custom extension extending the RequestFilter extension and add logic to check -> if header exists continue or else give back a 404 not found?
b

Bas Dijkstra

07/15/2023, 6:46 PM
Yes, a custom request filter would be a good way to implement this.