基于Fiddler的弱网模拟
- Fiddler的限速功能开启:
Rules-->Performance-->Simulate Modem Speed
- 自定义模拟网速:
Rules-->Customize Rules..
修改以下代码块:
if (m_SimulateModem) {
// Delay sends by 300ms per KB uploaded.
oSession["request-trickle-delay"] = "300";
// Delay receives by 150ms per KB downloaded.
oSession["response-trickle-delay"] = "150";
}
网友评论