Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Charles Proxy 100% throttling

I'm using Charles (4.0.2) as a proxy server to test my mobile app, which relies on WebSockets inside of a WKWebView. I am trying to simulate a situation in which a user briefly experiences no packet movement on their internet connection (about 5 seconds of 0 packets up or down). Here are my throttle settings:

enter image description here

I can't imagine how I could possibly throttle things more... yet it seems to have zero effect. The data is still moving up and down the web socket. Any idea how I can 100% throttle my connection?

like image 219
AlexZ Avatar asked Aug 31 '25 01:08

AlexZ


1 Answers

You can use Network Link Conditioner iphone's setting:

Setting -> Developer -> Network Link Conditioner -> Status

enter image description here

Choose a profile (in your case 100% Loss seem appropriate) and enable its.

like image 200
Nhat Dinh Avatar answered Sep 02 '25 15:09

Nhat Dinh