mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-17 22:31:06 +01:00
Updated Stubbing (markdown)
1 parent
195ada4d51
commit
7ab1400fcb
1 file changed
+1
-1
+1
-1
@@ -78,7 +78,7 @@ var customerReadRequests = server.SearchLogsFor(
|
||||
## Simulating delays
|
||||
A server can be configured with a global delay that will be applied to all requests. To do so you need to call method WireMockServer.AddRequestProcessingDelay() as below:
|
||||
```csharp
|
||||
var server = FluentMockServer.Start();
|
||||
var server = WireMockServer.Start();
|
||||
|
||||
// add a delay of 30 seconds for all requests
|
||||
server.AddRequestProcessingDelay(TimeSpan.FromSeconds(30));
|
||||
|
||||
Reference in new issue
Block a user