Rahul Verma

06/18/2023, 3:20 PM
Hi folks, just want to know is it possible to enable basic authnetication for all the stubs at one go or at wiremock instance level instead of individual stubs

Bas Dijkstra

06/18/2023, 5:23 PM
Hey @Rahul Verma , you can do that by creating a custom request filter and loading that when you start your WireMock instance. An example can be found in this repo: This video explains what and how, check around the 19 minute mark: Let me know if you need anything else.