2
Allow user to change Mocha timeout
Source: Kong/insomnia#3608 · opened by @octaneadmin
Is your feature request related to a problem? Please describe. Insomnia Designer currently allows multiple requests to be created as part of a single unit test. This is an important functionality if you have multiple requests relying on a previous ones (request chaining helps, but for more complex situations it fails to satisfy the need). The problem is that the Mocha timeout is hard-coded to 5000ms. Which means if you add multiple request to a single unit test, you are almost guaranteed to see and error saying the test failed because "Timeout of 5000ms exceeded". Describe the solution you'd like Ideally, we either need a way to set the Mocha timeout in User Preferences, or some way to set the timeout within the unit test itself (ex. insomnia.mocha.timeout = 60000). Or if that is a lot of work, then least for the short-term, hard-code the timeout to something much larger (ex. 60 seconds). Describe alternatives you've considered Currently we are using po…
No pledges yet. Be the first to back this.
Comments
Similar requests
Allow access to mocha context from unit tests
3 votes · 0 comments
Specify request timeout on a per request basis
5 votes · 0 comments
[Feature Request] Continuation criteria and ok/fail counters for repeat on Interval
1 vote · 0 comments
Add cancelHook for plugins
1 vote · 0 comments
Allow customizing curl DNS cache timeout
1 vote · 0 comments
No comments yet.