tags:

views:

241

answers:

1

I’m building a client server application that should operate 24/7. The applications is designate to detect network failures (using a heart beating) and reconnect to the server asap.

The first test that I made is just stopping the client or the server and then starting again and everything works fine. I’m wondering if there is any tools that can help me simulate congestion, delays or more realistic problem than just unplugging my Ethernet cable.

+3  A: 

Does the app use plain tcp sockets? Or does it use HTTP/HTTPS? If its HTTP based, Fiddler (as well as some other proxy servers) has the capability of simulating slow connection speeds, albeit at the expense of being windows only.

Alternatively, I've had good experiences with tools like Apache TCPMon and its ilk. These can simulate congestion and line breaks fairly well, although in my experience, you will still end up finding new and interesting failure modes in the real world.

jsight
Tks for your response!. We are using JMS over bisockets
Dani Cricco