menu

Mockoon

Mockoon's official community. Get help, discuss new features.

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Bugs
view-forward
# Features
view-forward
# Help
view-forward
Team

Mockoon ability to produce rate-limit throttling statistics

December 10, 2019 at 5:05pm

Mockoon ability to produce rate-limit throttling statistics

December 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
Hello,
  • reply
  • like
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!
  • reply
  • like
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
  • reply
  • like
Sure I understand. It's already a lot of work when it's your app, that you perfectly know ><
  • reply
  • like
Digging in someone else's code and try following code style, etc can be hard too.
  • reply
  • like
Thanks for the discussion anyway, all the best !
  • reply
  • like