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
As other people have mentioned, Apache's ab (comes with Apache, so you probably have it already) is good.
Other good options are:
I personally like ab and JMeter the best.