bandwidth and traffic simulator for web apps?

linux, simulation, windows

Solution

if you're using apache you may want to take a look at apache ab

Problem

Can you suggest how to create a test environment to simulate various types of bandwidths and traffic in a web app? Or maybe an open source program which does this against localhost? I think this is a very important subject when programming web apps but it is not a usual topic, the only way i can imagine to create such kind of environment is to use some kind of proxy in a local network but before start looking into the squid documentation i would like to hear your suggestions.

Original source