Network Link Conditioner
If you're a developer of either Mac or iOS apps that use networking, how could you simulate a bad connection while testing your app? I think this tool could help you out.
The Network Link Conditioner tool is an extremely useful tool introduced with Lion that allows you to test how well an application behaves when subject to various network conditions. It can still be used test iOS apps that are running in the iOS Simulator.
Since Xcode 4.3 the Network Link Conditioner is available as an addition. Open Xcode, use this menu item - Xcode > Open Developer Tool > More Developer Tools... and download the .dmg file in Hardware IO Tools for Xcode.
Double-click the prefpane file and authenticate to allow it to be installed. You'll then see the pane in System Preferences.
The Nertwork Link Conditioner can be used limit bandwidth, add delays both to normal traffic and to DNS queries and create packet loss. It comes pre-configured with a number of typical network profiles to allow you to simulate common 3G cellular, cable modem, DSL and WiFi connections.
This configuration is useful for slowing down all network communication so that you can really see what your app is doing. This helps flush out any points in your code where you have network code blocking the main thread. It can also help you see any progress bars or temporary spinning activity indicators that might otherwise only be displayed for a split second when testing on a fast network.So, pretty sure that testing applications under challenging network conditions is a good idea. Oh, just don't forget to switch it off when you done.



