You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of my end-to-end tests result in quite a large number of HTTP requests. When a request is made for which there is no MockedRequest setup (or the order is wrong), I always have a hard time correlating which one. Aside from the feature suggestion in #82, it would be nice to also be able to hook into a callback that is called whenever a request completes. Then the test output when give me a good audit log of what has happened and where it goes wrong.
httpMock.OnRequestCompleted((HttpRequestMessagerequest,HttpResponseMessageresponse)=>{logger.Debug($"HTTP request to {request.Uri.AbsoluteUri} completed successfully");})
The text was updated successfully, but these errors were encountered:
Some of my end-to-end tests result in quite a large number of HTTP requests. When a request is made for which there is no MockedRequest setup (or the order is wrong), I always have a hard time correlating which one. Aside from the feature suggestion in #82, it would be nice to also be able to hook into a callback that is called whenever a request completes. Then the test output when give me a good audit log of what has happened and where it goes wrong.
The text was updated successfully, but these errors were encountered: