I'm testing a Windows desktop application, that requests data from a server during certain operations. I want to make sure the application can handle all possible responses, including bad ones.
What is the easiest way to accomplish this?
Will I have to create a test server, and use the hosts file to connect to that server instead of the real server? Is there a better way?
Are there tools available that can already do this?