How to test a site with low bandwidth?

I am developing a web application for mobile browsers. Currently, most of the development is done on local machines (with local apache), and I would like to check how it works in an environment with low bandwidth and even high latency. I do not need to use apache, because at the moment there are few server things on it. Do you know a good tool?

+7
web-applications mobile bandwidth
source share
5 answers

You might want to give Sloppy a try.

UPDATE: @SamSaffron posted a cool entity: https://gist.github.com/2132065 to inject 300 ms latency into the network stack

#!/bin/sh ipfw -q -f flush ipfw add pipe 1 in ipfw add pipe 2 out ipfw pipe 1 config bw 512Kbit/s queue 30 delay 150ms ipfw pipe 2 config bw 2Mbit/s queue 10 delay 150ms ipfw -q add allow all from any to any 
+6
source share

Usually I just install Fiddler on the client and start the site when Fiddler starts. It can simulate 56K speeds, and it can also track how much data has been received so that you can accurately determine how much bandwidth your site is using.

+4
source share
+1
source share

If you use Firefox, you can install Firebug and install Yahoo! YSlow addon. This adds an additional Firebug tab that indicates the bandwidth bottlenecks for the currently loaded page.

0
source share

There’s a great Charles tool for this.

About Charles

Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Then your web browser (or any other Internet application) is configured to access the Internet through Charles, and then Charles can record and display for you all the data that is sent and received.

In web and internet development, you cannot see what is sent and received between your web browser / client and server. Without this appearance, it is difficult and time-consuming to determine exactly where the error occurs. Charles can easily see what is happening, so you can quickly diagnose and fix problems.

Charles makes debugging fast, reliable, and advanced; saving you time and frustration!

Main functions
  • SSL Proxying - View SSL requests and responses in plain text
  • Bandwidth throttling to simulate slow Internet connections, including latency
  • AJAX Debugging - View XML and JSON requests and responses as a tree or text
  • AMF - View Flash Remoting / Flex Remoting message contents as a tree
  • Repeat queries to check for internal changes
  • Edit queries to test different inputs
  • Breakpoints for intercepting and editing requests or responses
  • Validate recorded HTML, CSS, and RSS / atom responses using the W3C validator

All of the above content is taken from the CHARLES website .

0
source share

All Articles