Performance Zone is brought to you in partnership with:

Juri Strumpflohner mainly operates in the web sector developing rich applications with HTML5 and JavaScript. Beside having a Java background and developing Android applications he currently works as a software architect mainly dealing with the .Net technology stack. When he’s not coding or blogging about his newest discoveries he is practicing Yoseikan Budo where he owns a 2nd DAN. Juri is a DZone MVB and is not an employee of DZone and has posted 54 posts at DZone. You can read more from them at their website. View Full User Profile

Test Your App Under Slow Network Speeds

  • submit to reddit

I guess that I don’t have to start talking about the importance of testing in the software development process. There are couple of different kind of tests which I’m not going to mention now, but generally speaking a good test should verify the correct implementation of the business requirements but also test the software on its boundaries and edge cases.

From a User’s Perception

Beside automated tests, often a good indicator might also be the personal perception when using the software. Sounds strange, but how does it feel to use the application. Is it fluid, responsive or rather laggy and inconvenient to use. These kind of indicators are often hard to objectively define but they count a lot and might contribute more to the overall user satisfaction than you might actually think.

Couple of days ago I got inspired by a Tweet between Addy Osmani and Sindre Sorhus:

Tweet between Addy and Sindre about speed throttling tools

Do you Test your Application under Different Network Speeds?? How often?

I can just remember to have done it once because it was an explicit non-functional requirement from our customer as there where people connecting through 56k modems(!!). Typically when developing mobile application this is an absolute must because mobile connections are highly vulnerable in terms of network connection failures or speed differences. As such, depending on your user’s internet service provider and/or the availability or absense of broadband mobile networks, he might get quite different experiences when using your application.

Modern web applications provide a lot of possibilities for bandwidth optimizations, especially also considering HTML5 additions like the different browser storage mechanisms. I’m not going into too much details here but rather I’d like to quickly show how you can test your application under potentially poor network conditions.

How to Simulate Different Network Types

On Windows

There are several tools available for windows. Probably the simplest approach is to use Fiddler2, a tool which you should have installed anyway as a web developer. Just download and start it. In the menu, there’s an entry called “Rules”, open it and navigate to “Performance”. There you should see an item called “Simulate Modem Speeds”.


This will simulate a modem like network speed which allows you to test and fine-tune your webapp under more extreme, inconvenient situations.
Actually there’s also a Fiddler plugin which lets you add a delay in ms to any kind of response. I did not test that one in depth, though.


OSX has a tool called Network Link Conditioner which allows you to do a similar job. To install it you need to first download XCode which is freely available in the App Store market. Once installed

  1. Open XCode
  2. Navigate the menu XCode > Open Developer Tool > More Developer Tools. This will open Apple’s website
  3. Download the “Hardware IO Tools for XCode”
Download the Hardware IO Tools

Once downloaded, open the package and install the “Network Link Conditioner.prefPane” tool…

…which will automatically be installed on your preference pane. Here you go

Just select the desired speed option and activate it. The nice thing about this tool is that you have already a bunch of configurations at hand.

Other tools

I have to admit that I did not perform an in-depth research about other possible tools. Here are just some other potentially interesting ones I encountered.

Feel free to add yours in the comment section.

Published at DZone with permission of Juri Strumpflohner, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Vincent DABURON replied on Wed, 2013/02/06 - 4:52am


I had done some research on this subject last year and I selected 2 products
The first WanEmualor (commercial but not too expensive) from
The second WANem on source forge with the possibility to download the Virtual Machine directly with the tool installed.
Otherwise there is a really high quality product and professional from

The shunra's product is also a plugin for the performance testing tool LoadRunner HP


Vincent D.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.