You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Are you referring to using osprey-mock-service as CLI though? Because if using it in javascript, why not create a middleware that performs some kind of sleep() on each request?
Perhaps a --simulate-delay flag, with an optional argument of how many ms – although for my usage a random 1-3 second delay would have the desired effect (testing loading spinners 😂)
I think it'd be nice to add a delay time for each response in the RAML, next to the example line – again, like Stubby – but guess this'd be non-standard and wouldn't fly.
Should be quite straight forward, a setTimeout might suffice?, will investigate a PR when I replace a stolen laptop
Much like is offered with Stubby, it'd be a killer feature to be able to simulate slow network requests.
The text was updated successfully, but these errors were encountered: