How i can limit my bandwith connection?

1 Answer 3314 Views
Windows
Alexander
Top achievements
Rank 1
Alexander asked on 05 Oct 2015, 02:22 PM

Hello guys.
I have a task to test one web-service of our company on slow connection over 256 kbit\s.

And for connecting to intnernet ​I am us​ing 4G modem which don't have any options to limit bandwith connection.

i saw the option named as Simulate Modem speed. It allows to limit bandwith over 56k. But need to limit bandwith in 256 kb\s. How can i do this?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Eric Lawrence
Telerik team
answered on 05 Oct 2015, 07:07 PM

Hi, Alexander--

The Simulate Modem Speeds feature is provided in script; you can edit its behavior by clicking Rules > Customize Rules, and editing the script block values:

            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"; 
            }

You just need to adjust the delay to throttle your real connection down to your simulated connection.

Having said that, if you're using Google Chrome as your client, you can hit F12 and use its richer bandwidth throttling features. These only work for Chrome, but they include many pre-built defaults. 

Regards,

Eric Lawrence
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Alexander
Top achievements
Rank 1
commented on 06 Oct 2015, 06:46 AM

Thank u very much. And I'm sorry for my inadvertence, I had to (i could) find it myself)
Tags
Windows
Asked by
Alexander
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Share this question
or