Chaos Mode #471
Replies: 5 comments
-
Not just unstable, but also hyper-diverse withing the spectrum of possible replies Firstly that the specification defines,
Secondly that the unspecified implicit contract defines (maybe using custom extensions?)
Not sure 'random' really means 'random' in those phrases above. |
Beta Was this translation helpful? Give feedback.
-
Mockit has a boolean for Monkey Mode https://mockit.netlify.com/docs/features/chaos-monkey |
Beta Was this translation helpful? Give feedback.
-
Yeah, this is really a cool feature we could develop and bring a lot of value. We probably just need to define what "chaos" mean; returning errors (which is ok) but which errors? 404? 500? According to the ones defined in the document? Or even return 200 with a different payload? Missing fields? |
Beta Was this translation helpful? Give feedback.
-
I was sharing mockit as an example to help define that :)
|
Beta Was this translation helpful? Give feedback.
-
We're considering recommending something like this to our users for testing. +1 for chaos mode! |
Beta Was this translation helpful? Give feedback.
-
User story.
As a client developer, I can enable chaos mode, which will make the mock act like an unstable server. Latency will vary, sometimes 50X errors will come back, and things will generally be a mess.
Is your feature request related to a problem?
Production APIs trip, stumble, or fall over entirely, and we need to help clients get ready for that.
Clients can set up toxiproxy for their mocks to enable this functionality, and maybe we can work with that, but maybe we can implement something a bit more simplistic that does not require running a toxiproxy server.
Describe the solution you'd like
TBD
Additional context
Similar implementations...
Beta Was this translation helpful? Give feedback.
All reactions