美文网首页程序员
Fiddler弱网模拟

Fiddler弱网模拟

作者: 小矮人Ethan | 来源:发表于2016-04-15 19:35 被阅读477次

    基于Fiddler的弱网模拟

    1. Fiddler的限速功能开启:
      Rules-->Performance-->Simulate Modem Speed
    2. 自定义模拟网速:
      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"; 
            }
    

    相关文章

      网友评论

        本文标题:Fiddler弱网模拟

        本文链接:https://www.haomeiwen.com/subject/aypnlttx.html