模拟在localhost上缓慢的互联网连接 [英] simulating slow internet connection on localhost
本文介绍了模拟在localhost上缓慢的互联网连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
IAM使用C#,asp.net和IIS,我要模拟在我的电脑缓慢的互联网连接来测试我的应用程序。
iam using c#,asp.net and iis, i want to simulate slow internet connection on my pc for testing my app.
是有可能,我可以控制IIS的带宽。
is it possible i can control bandwidth of iis.
请不要提示
System.Threading.Thread.Sleep(someDuration);
在C#文件。
推荐答案
您可以运行小提琴手,并利用其连接节流来模拟一个缓慢的连接。
You can run Fiddler and use its connection throttling to simulate a slow connection.
请注意,你需要浏览到您的计算机名称,而不是本地主机
。 (本地主机。
也应该工作)
Note that you'll need to browse to your machine name, not localhost
. (localhost.
should also work)
这篇关于模拟在localhost上缓慢的互联网连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文