-
-
Notifications
You must be signed in to change notification settings - Fork 237
Description
Hi,
I checked the documentation but couldn’t find anything related to this. It would be very helpful to have the ability to deactivate a mapping without deleting it. This would allow for proper post-test analysis.
In my case, many tests dispose of mappings as soon as they’re no longer needed to avoid collisions. After the tests finish, it becomes difficult to investigate why certain requests weren’t matched, because the mapping definitions have already been removed.
Instead of adding another attribute to the mapping itself, it might be better to extend the admin endpoint for returning mapping with new attribute that will allow to include deleted entries. I think this would be the simplest way to achieve the desired outcome.
This improvement would definitely improve WireMockInspector usability.