Add some Chaos to your Mock APIs
wiremock.io
wiremock.io
Want to inject some chaos into your testing? WireMock Cloud has a ready to go “Hello world!” example in the quickstart. If you have an OpenAPI/Swagger definition ready, you can easily import it and bootstrap API in a few clicks. There is a free tier available for small projects and those who want to try it out.
For chaos testing, once APIs are defined, just open the Mock API, go to the “Chaos” configuration tab and toggle “Enable chaos”. There you can configure error rates, HTTP return codes and their distribution, as well as random long delays and timeouts. Then it will get applied to all the responses within the scope of the API.
Let us know what you think here or on the WireMock Slack: https://slack.wiremock.org/! And bring order to you API test chaos