[PR #557] [CLOSED] Implement random delays #970

Closed
opened 2025-12-29 15:34:34 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/557
Author: @myarichuk
Created: 12/16/2020
Status: Closed

Base: masterHead: random_delays


📝 Commits (2)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/557 **Author:** [@myarichuk](https://github.com/myarichuk) **Created:** 12/16/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `random_delays` --- ### 📝 Commits (2) - [`937bf8b`](https://github.com/wiremock/WireMock.Net/commit/937bf8bf817b1dfef96500f549d907ebf8312138) implement random delays - [`6e35e6f`](https://github.com/wiremock/WireMock.Net/commit/6e35e6fc735d42134147f00ec79d70ce3466f16e) fixing CodeFactor issue ### 📊 Changes **3 files changed** (+81 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/ResponseBuilders/IDelayResponseBuilder.cs` (+8 -0) 📝 `src/WireMock.Net/ResponseBuilders/Response.cs` (+36 -1) 📝 `test/WireMock.Net.Tests/WireMockServerTests.cs` (+37 -0) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 15:34:34 +01:00
adam closed this issue 2025-12-29 15:34:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#970