19

I currently deploy with GAE (google app engine) and I try to implement some AJAX validation. So I got a couple text-fields and "spinners" (ajax loaders) which should be displayed when an AJAX request is sent. But I deploy on my local computer (localhost), so the GAE SDK reacts very fast on any request. It takes about 50-70 ms(miliseconds) to perform the whole ajax request, which is far far away from the real.

Is there a way to somehow simulate slow Internet connection? I just want to see how my "spinners" work. I want to test some ajax setting (jquery) about timeouts, errors and so on...

Any ideas ?

V-Light
  • 410

5 Answers5

9

If you use a browser to simulate that, you can use Firefox Throttle, Internet Explorer Throttle or Fiddler.

kokbira
  • 5,429
5

Using linux you have a software called trickle that launches a process and limits its bandwidth usage.

user39559
  • 2,016
4

I would check out Charles Proxy. It has bandwidth throttling and is cross-platform with a very clean interface.

2

This is free and simple for Mac OS X and works with the every browser: speedlimit

Simonini
  • 121
0

You can use a "slow Internet connection" from a mobile phone (for example, GPRS). You must have a mobile phone that become a modem when connected to the PC and a carrier that provides that kind of connection.

For example, I can connect my LG phone in my computer and use a dial-up program (provided by LG) to perform a connection in TIM, my carrier. So, my internet connection is about 40kbps.

You will have a slow connection, but you cannot adjust its speed only with that.

kokbira
  • 5,429