我想直观地评估网页的几个互联网连接类型的响应时间(DSL,电缆,T1,拨号等),而我的浏览器和网络服务器是在同一局域网,甚至在同一台机器上。是否有任何简单的网络工具或浏览器插件来降低网络带宽,以模拟不同的现实连接场景。
对此我很感激。
我想直观地评估网页的几个互联网连接类型的响应时间(DSL,电缆,T1,拨号等),而我的浏览器和网络服务器是在同一局域网,甚至在同一台机器上。是否有任何简单的网络工具或浏览器插件来降低网络带宽,以模拟不同的现实连接场景。
对此我很感激。
当前回答
Mac OS X现在有一个集成的工具,可以模拟缓慢和糟糕的网络:http://9to5mac.com/2011/08/10/new-in-os-x-lion-network-link-conditioner-utility-lets-you-simulate-internet-and-bandwidth-conditions/
其他回答
在Linux上,请参阅netem:内核已经包含了对流量整形的支持,并且可以模拟高延迟、低带宽、数据包丢失和所有其他不利条件,甚至在环回设备上(因此您不需要一个真实的物理网络进行测试)。
如果你在为Windows Phone开发时需要模拟网络连接质量,你可以尝试一下Visual Studio内置的名为模拟仪表板的工具(更多详细信息请访问http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206952(v=vs.105).aspx):)
You can use the Simulation Dashboard in Visual Studio to test your app for these connection problems, and to help prevent users from encountering scenarios like the following: High-resolution music or videos stutter or freeze while streaming, or take a long time to download over a low-bandwidth connection. Calls to a web service fail with a timeout. The app crashes when no network is available. Data transfer does not resume when the network connection is lost and then restored. The user’s battery is drained by a streaming app that uses the network inefficiently. Mapping the user’s route is interrupted in a navigation app. ... In Visual Studio, on the Tools menu, open Simulation Dashboard. Find the network simulation section of the dashboard and check the Enable Network Simulation check box.
尝试交通整形XP 你可以用这个应用程序轻松限制IE或其他浏览器的速度,它也是免费的
你也可以尝试WANem,这是一个开源的广域网模拟器。您可以下载映像(ISO、Knoppix live CD)或VMWare虚拟设备。
我已经成功地使用TMnetSim(页面底部,在“其他工具”下-链接显示类似于“ZIP: TMnetSim网络模拟器2.4 32位(600KB)”
它不仅仅适用于网站——你可以减慢任何TCP端口的连接。我用它来模拟一个缓慢的SQL Server(端口1433)。