Current time: 06-27-2017, 08:26 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private instance - Enabling Traffic Shapping
12-21-2016, 03:59 AM (This post was last modified: 12-21-2016 04:00 AM by pmaugeri.)
Post: #1
Private instance - Enabling Traffic Shapping
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
Find all posts by this user
Quote this message in a reply
12-21-2016, 04:10 AM
Post: #2
RE: Private instance - Enabling Traffic Shapping
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-21-2016, 05:26 AM
Post: #3
RE: Private instance - Enabling Traffic Shapping
(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?
Find all posts by this user
Quote this message in a reply
12-21-2016, 06:31 AM
Post: #4
RE: Private instance - Enabling Traffic Shapping
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-21-2016, 06:45 AM
Post: #5
RE: Private instance - Enabling Traffic Shapping
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)