mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
[PR #557] [CLOSED] Implement random delays #970
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/557
Author: @myarichuk
Created: 12/16/2020
Status: ❌ Closed
Base:
master← Head:random_delays📝 Commits (2)
937bf8bimplement random delays6e35e6ffixing CodeFactor issue📊 Changes
3 files changed (+81 additions, -1 deletions)
View changed files
📝
src/WireMock.Net/ResponseBuilders/IDelayResponseBuilder.cs(+8 -0)📝
src/WireMock.Net/ResponseBuilders/Response.cs(+36 -1)📝
test/WireMock.Net.Tests/WireMockServerTests.cs(+37 -0)📄 Description
In order to use WireMock as a proxy for chaos testing, introducing random delays would be a useful feature. This is my attempt implementing random delays.
Note: I tried to make as less changes as possible to the code, as such change can be introduced in a couple of ways, I think.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.