Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

simulating slow internet connection on localhost

Tags:

c#

asp.net

iis

iam using c#,asp.net and iis, i want to simulate slow internet connection on my pc for testing my app.

is it possible i can control bandwidth of iis.

please dont suggest

System.Threading.Thread.Sleep(someDuration);

in c# file.

like image 509
Praveen Prasad Avatar asked Apr 15 '10 17:04

Praveen Prasad


People also ask

How do I simulate a slow Internet connection on Windows?

To do this, click on the three vertical dots and then click on the middle dock position. Now go ahead and click on the Network tab. On the right, you should see a label called No Throttling. If you click on that, you'll get a dropdown list of a pre-configured speeds that you can use to simulate a slow connection.

How can I test my internet speed is slow?

How to test your connection speed. If you'd like to check your connection speed, we recommend doing a speed test at start.speedtest.net. Run this test over a device that's connected by Ethernet cable to eliminate any Wi-Fi interference.


2 Answers

You can run Fiddler and use its connection throttling to simulate a slow connection.

Note that you'll need to browse to your machine name, not localhost. (localhost. should also work)

like image 140
SLaks Avatar answered Oct 16 '22 10:10

SLaks


Fiddler will do this for you.

like image 21
D'Arcy Rittich Avatar answered Oct 16 '22 10:10

D'Arcy Rittich