Chrome 开发者工具模拟 WebSocket 弱网环境

Chrome WebSocket About 1,368 words

结论

目前开发者工具对于WebSocket的弱网环境还没有支持,更改ThrottlingWebSocket建立连接时有用,建立连接后不起作用。

相关 Bug

https://bugs.chromium.org/p/chromium/issues/detail?id=423246

替代方法

可使用JMeterWebSocket插件测试,配合更改配置文件cps模拟弱网。

2021-11-08 更新

Chrome 96版本的修复有bug,设置了模拟弱网后没有数据下发了,再关闭模拟也没有数据了。

最新留言说已经修复,目前不知道将在哪个版本发布。

Comment 91 by yangguo@google.com on Mon, Nov 8, 2021, 6:10 PM GMT+8 (9 days ago)
Danil, can this be closed as Fixed?
Comment 92 by dsv@chromium.org on Mon, Nov 8, 2021, 6:20 PM GMT+8 (9 days ago)Status: Fixed (was: Started)

Comment 93 by might...@gmail.com on Mon, Nov 8, 2021, 7:11 PM GMT+8 (9 days ago)
Thank you <3

2021-09-23 更新

历时7年。

Chromium论坛留言看到,问题已经被修复了,将在Chrome 96版本中发布。

Comment 79 by danilsomsikov@google.com on Tue, Sep 21, 2021, 9:22 PM GMT+8 (a day ago)
Status: Fixed (was: Started)

Comment 80 by mkhah...@gmail.com on Tue, Sep 21, 2021, 9:35 PM GMT+8 (a day ago)
Wow finally, after 7 years!! Thanks
In what version would it be available?

Comment 81 by danilsomsikov@google.com on Tue, Sep 21, 2021, 9:44 PM GMT+8 (a day ago)
I think this has just made it to 96

Comment 82 by mrj...@googlemail.com on Tue, Sep 21, 2021, 9:56 PM GMT+8 (a day ago)
Unbelievable!!!! THANKS!!!

Comment 83 by dgarc...@gmail.com on Tue, Sep 21, 2021, 11:50 PM GMT+8 (a day ago)
👏🏻👏🏻👏🏻👏🏻

Comment 84 by might...@gmail.com on Wed, Sep 22, 2021, 8:44 AM GMT+8 (a day ago)
Thank you, Danil.
Views: 3,534 · Posted: 2021-09-13

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh