-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the feature request
It would be very helpful if the ID of non-matching expectations would be shown in the list of log messages in the dashboard of the web view. So that it is easier to find the reason why a specific expectation did not match a request.
What you are trying to do
My application sends a request to the mock-server and gets a 404 response, although a 200 with a body should be returned. Now I try to understand what the reason is.
When I look at the logs in the dashboard I see a list of many expectations that did not match. Here's a screenshot:
As you can imagine it is difficult to find the specific expectation which should have matched the request. I have to open each expectation to find the correct one.
All of the expectations are specified via the initialization json and each of them have a unique ID.
The solution you'd like
It would be great if the ID of the expectation would be shown in the list of non-matched expectation. So it would like like this:
04-30 07:22:28.733 EXPECTATION_NOT_MATCHED request: {...} didn't match expectation "getUser": {...} because: ...
04-30 07:22:28.733 EXPECTATION_NOT_MATCHED request: {...} didn't match expectation "createUser": {...} because: ...
04-30 07:22:28.733 EXPECTATION_NOT_MATCHED request: {...} didn't match expectation "updateUser": {...} because: ...
Thank you for consideration in advance :-)