1000ch
February 7, 2014, 6:22am
1
How to write location string wpt private instance to detect connectivity?
at connectivity.ini,
[3G]
label="Mobile 3G (1.6 Mbps/768 Kbps 300ms RTT)"
bwIn=1600000
bwOut=768000
latency=300
plr=0
if location is Tokyo_wptdriver:Chrome(got from calling getLocations.php),
location string is “Tokyo_wptdriver:Chrome.3G”?
It did not work…
RESTful APIs
pmeenan
February 10, 2014, 3:55pm
2
What do you mean by “detect” connectivity? That location string looks correct assuming dummynet is installed on your Tokyo instance and traffic shaping is supported.
1000ch
February 12, 2014, 2:21am
3
Thanks for replying.
I want to run tests with RESTful API (and node.js client).
I wrote location string to put it as query, but it didn’t work (traffic was not shaped).
/runtest.php?script=...&location=Tokyo_wptdriver%3AChrome&runs=1&label=testoftest&video=0&connectivity=3G&mobile=1&timeline=1
(this query is generated by WebPageTest node module)