I'm building a network application and need to test its behavior under various bandwidths.
This question is an offshoot of this question. I was successfully able to test my application for different sets of bandwidth rates.
In addition I now want to test the application in which the bandwidth rate changes while the application is executing.
I figure that the same can be done manually/using a bash script (programmatically adding or deleting qdiscs), etc.
But it would be really useful if a tc command existed where I could simply provide a range of bandwidth values and the application switched to a random rate for the next packet transfer.
PS: I am very new to tc and therefore relatively verbose explanations / links to the same would be very helpful. Thanks!