0

I am currently writing a performance test for a system that I built. I am executing X thousand API calls and measuring the time it takes. I would now also like to know how much traffic the X thousand calls caused. However, I am running the test 30 times inside a loop so that I can calculate the mean and the confidence intervals to filter out spikes because of overflowing buffers and such. Is there a tool that allows me to calculate the traffic caused by my script for each loop?

This question's answer suggests to use psutil, however that seems to measure the network traffic for the whole system?

Gasp0de
  • 1,199
  • 2
  • 12
  • 30

0 Answers0