I'm developing a web application for mobile browsers. Right now most of development is done on local machines (with local apache) and I'd like to test how it behaves in low bandwidth and even high latency environments. I don't need to use apache as there is little server side things for the moment. Do you know any good tool?
相关问题
- Ionic Spinner not showing up
- Can you set the Location header in a chunked http
- Error: Cannot access database on the main thread s
- Video Format that Works on Mobile Phones
- What are the advantages ManageIQ has over OpenStac
相关文章
- is there a “rails” way to redirect if mobile brows
- File Upload of more than 4GB
- Returning plain text or other arbitary file in ASP
- Ascii check mark is always red in mobile
- how to tell if android user came from home screen
- Overlapping Text in CSS - How do I change it?
- Why do mobile browsers load my page completely zoo
- Some Android devices extremely slow when rendering
I usually just install Fiddler on the client and run the site whilst running Fiddler. It can simulate 56K speeds and it can also keep track of how much data has been received so you can check exactly how much bandwidth your site uses.
There is a great tool for this purpose Charles
About Charles
Charles is a web proxy (HTTP Proxy/HTTP Monitor) that runs on your own computer. Your web browser (or any other Internet application) is then configured to access the Internet through Charles, and Charles is then able to record and display for you all of the data that is sent and received.
In Web and Internet development you are unable to see what is being sent and received between your web browser / client and the server. Without this visibility it is difficult and time-consuming to determine exactly where the fault is. Charles makes it easy to see what is happening, so you can quickly diagnose and fix problems.
Charles makes debugging quick, reliable and advanced; saving you time and frustration!
Key FeaturesAll above content is taken from CHARLES Website.
You may want to give Sloppy a try.
UPDATE: @SamSaffron posted a cool gist: https://gist.github.com/2132065 to inject 300ms latency into the network stack
If you're using Firefox, you could install Firebug and install Yahoo!'s YSlow addon. This adds an additional tab to Firebug which points out bandwidth bottlenecks for the currently loaded page.
Try this addon for Fiddler2 to limit the bandwitdth
http://www.logic-worx.com/index.php/tools-and-apps/fiddler-connection-simulator/