mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #346] [MERGED] Fix recorded requests skipped by request logger #868
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/346
Author: @vitaliydavydiak
Created: 9/16/2019
Status: ✅ Merged
Merged: 9/17/2019
Merged by: @StefH
Base:
master← Head:log-recorded-requests📝 Commits (6)
6c170fbFix recorded requests skipped request logger.4b8291eAdd unit test4786d12Use different solutiona55ef53Introduce IsRecordedByProxy property on Mapping class94ccb8dCleanup empty lines56fb16eRefactored fix suggested way📊 Changes
4 files changed (+43 additions, -1 deletions)
View changed files
📝
src/WireMock.Net/IMapping.cs(+8 -0)📝
src/WireMock.Net/Mapping.cs(+3 -0)📝
src/WireMock.Net/Owin/WireMockMiddleware.cs(+2 -1)📝
test/WireMock.Net.Tests/FluentMockServerTests.Proxy.cs(+30 -0)📄 Description
When proxy is enabled the recorded requests are mistaken (IMO) for admin interface requests and skipped in LogEntries. Actually none of requests logged in proxy mode. It is valuable to monitor that while recording.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.