Mockoon ability to produce rate-limit throttling statisticsDecember 10, 2019 at 5:05pm
Hello guys, having recently discovered Mockoon to be a great tool for simulating API's, I want to know if it is able to produce rate-limit throttling statistics? For example, produce a tabular statistics (per Mockoon environment) list of the following:
- How many requests received in the last 1, 5, 10, 60, ... minutes, etc.
- The payload size received in these time intervals.
In the most ideal case, these time intervals (like 1, 5, 10, 60) would be a configurable and extensible set of time interval values.
My development obviously imposes some waiting delays to influence rate limits (especially when it runs in a loop), but I'd like to get a feeling for the numbers on API end, even a Mockoon simulated API.
If this does indeed not exist in Mockoon, could it be considered as a possible new feature?
Thank you very much for your response.
December 11, 2019 at 7:37pm
Thank you for your message :). While Mockoon listen and show entering requests there is no statistics available concerning the payload size or the number of entering request during an amount of time. This could indeed be a new feature. However, I must say that I have already a lot on my plate, so I cannot give any ETA for this. Best thing to do would be to open a new issue on the repository so it can be tracked. Also feel free to contribute and add this by yourself and open a PR. I would be more than happy to help you!
Hello Guillaume, I'll think about adding it by myself, eventually, if the feature has't been developed by then. Although I have to say that I've got a lot on my plate myself as well with other projects. In addition, at this point I wouldn't be ready at all for taking it on: I have no Electron/Angular skills and know-how, but I do realize that everything can be learnt! For now, I put this on my long list of interesting technical adventures to undertake! :) All the best from Holland