mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Cause Delay in server responding #345
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?
Originally created by @jthomas2021 on GitHub (Mar 29, 2021).
How can I make the server delay in responding so that the application calling my mockservice will timeout.
@StefH commented on GitHub (Mar 29, 2021):
Hello @jthomas2021,
Does this help?
https://github.com/WireMock-Net/WireMock.Net/wiki/Stubbing#simulating-delays
@jthomas2021 commented on GitHub (Mar 29, 2021):
Hi @StefH ,
Is it possible to add the delay in the json stubs?
@StefH commented on GitHub (Mar 29, 2021):
Sure.
See example: https://github.com/WireMock-Net/WireMock.Net/wiki/Admin-API-Reference#get----__adminmappings
@StefH commented on GitHub (Mar 30, 2021):
See also Swagger : https://app.swaggerhub.com/apis/StefHeyenrath/WireMock/1.4.7
@jthomas2021 commented on GitHub (Mar 31, 2021):
Thank you @StefH .This worked.