How to test my website on a slow internet?

17

When you finish developing a website or system, we always test the performance of your website or system with our internet.

Given this, is there any way to simulate the performance of my system a slow internet to perform such tests without changing anything on my internet connection?

    
asked by anonymous 22.06.2017 / 20:30

3 answers

8

This is a complementary answer, Firefox also has something similar to Chrome, first select the "responsive mode" in Developer Tools:

Andthenopenthesecondcomboboxandchoosethedesiredoption:

Inadditiontothese,thereisanapplet(thatIuseforalongtime)called Sloppy , with it it is possible to simulate not only for browsers but for almost any operating system tool, although on the site it asks to run directly it is possible to download and run it directly on your machine, follow the download repository link , limiting a specific domain:

    
22.06.2017 / 20:39
17

One way to do this is by using Google Chrome itself.

With it you can set the speed you want to perform such tests.

To use, just go to the Developer tools (F12) , under the Network tab and select the " Throwing

The image below illustrates better:

Also note that you can disable caching in disable cache to test access without using the cache.

You can see the full Google tutorial for understand how it works.

    
22.06.2017 / 20:30
2

Complementing, you can do this test using JMeter .

I will not go into details of how to use it, just how to configure it to simulate different internet speeds.

Editing the file <jmeter_home>/bin/user.properties and adding the properties:

httpclient.socket.http.cps=0
httpclient.socket.https.cps=0

Change these properties to a desirable value, like the examples below:

Mobile data GPRS : 171 kbit/s = 21888
Mobile data EDGE : 384 kbit/s = 49152
Mobile data HSPA : 14,4 Mbp/s = 1843200
Mobile data HSPA+ : 21 Mbp/s = 2688000
Mobile data DC-HSPA+ : 42 Mbps = 5376000
Mobile data LTE : 150 Mbp/s = 19200000
WIFI 802.11a/g : 54 Mbit/s = 6912000
WIFI 802.11n : 600 Mbit/s = 76800000
Ethernet LAN ; 10 Mbit/s = 1280000
Fast Ethernet : 100 Mbit/s = 12800000
Gigabit Ethernet : 1 Gbit/s = 128000000
10 Gigabit Ethernet : 10 Gbit/s = 1280000000
100 Gigabit Ethernet : 100 Gbit/s = 12800000000
WAN modems V.92 modems : 56 kbit/s = 7168
ADSL : 8 Mbit/s = 1024000
ADSL2 : 12 Mbit/s = 1536000
ADSL2+ : 24 Mbit/s = 3072000

For other values enter according to the formula:

cps = (target bandwidth in kbps * 1024) / 8


More details on official documentation .

    
22.06.2017 / 20:53