MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Private instance - Enabling Traffic Shapping

WebPagetest Forums

Full Version: Private instance - Enabling Traffic Shapping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I am progressing in my configuration of my private instance and it seems that Traffic Shaping is not working as expected.

I thought that I had to simply put "DSL" instead of "LAN" in the connectivity field of the locations.ini (see mine below) but it does not work (it is too fast to be shaped as DSL).

I installed the dummynet following instructions here.

Is there something else that I should do in order to do traffic shaping?

Code:
[locations]
1=Local_Server
default=Local_Server

[Local_Server]
1=Local_wptdriver
2=Dummy
label=Local Server
group=Local

[Dummy]
browser=
latency=0
label=
browserExe=pagetest.exe
;key=TestKey123

[Local_wptdriver]
browser=Chrome,Firefox
label="Local Server"
connectivity=DSL
No. If you put anything in the connectivity field at all it will disable traffic shaping and just use whatever text you put in there for the label. For traffic-shaping to be enabled you need to remove the connectivity= line entirely.
(12-21-2016 04:10 AM)pmeenan Wrote: [ -> ]No. If you put anything in the connectivity field at all it will disable traffic shaping and just use whatever text you put in there for the label. For traffic-shaping to be enabled you need to remove the connectivity= line entirely.

Ok. So the field "connectivity" is only informational and does not drive the traffic shaping. So where whould I configure the shaping?

Will I be able to have different connectivities simulate on same WPT instance?
The traffic shaping is done dynamically on a per-test basis. On the server you configure the default profiles in settings/connectivity.ini (there is a .sample version with all of the normal defaults).

In the UI in the advanced settings is a dropdown to select the connectivity profile that you want to use when you submit a test.
(12-21-2016 06:31 AM)pmeenan Wrote: [ -> ]The traffic shaping is done dynamically on a per-test basis. On the server you configure the default profiles in settings/connectivity.ini (there is a .sample version with all of the normal defaults).

In the UI in the advanced settings is a dropdown to select the connectivity profile that you want to use when you submit a test.

This is clear! I removed the connectivity line from my configuration and now I can see all connectivity options in the UI. Exactly what I expected ! :-) Thank you very much.
Reference URL's