I think you want to search for tools to simulate network traffic / jitter / drops. There are quite a few hits on a quick web search.