WebPagetest Forums
locations.ini for mobile agents on private instance - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: locations.ini for mobile agents on private instance (/showthread.php?tid=14240)



locations.ini for mobile agents on private instance - jsheth - 03-13-2016 11:46 AM

Hello,

first of all, Thanks a lot to Patrick M and other guys who actually developed this wonderful tool! It makes life a lot easier!

I tried a lot to figure out the good documentation for step by step process to keep up and running with WPT and found some nice articles as well but they doesn't tell about locations.ini files completely.
It would be great if someone can please help me in following.

Scenario:
#1: have already set up private instance with EC 2. linux server as webserver and another windows server as test machine.
#2: want to test mobile devices in india (Vodafone 3G Network) with video.

Questions:
#1: how can I connect my private linux EC 2 instance to mobile agent for Banglore - Vodafone 3G network?

My locations.ini file -

[locations]
1=first
default=first

[first]
1=first_wptdriver
2=first_ie
label="My first agent"
default=first_wptdriver

[first_wptdriver]
browser=Chrome,Firefox,Safari

[first_ie]
browser=IE 11

#2: wpt_server=52.29.xx.xx wpt_location=first while setting up windows sserver of EC 2 I mentioned as user data. is that okay?

#3: what should be location and browser combination?

Thanks!


RE: locations.ini for mobile agents on private instance - pmeenan - 03-16-2016 01:11 AM

Here are the docs for the mobile agent configuration: https://sites.google.com/a/webpagetest.org/docs/private-instances/node-js-agent/setup


RE: locations.ini for mobile agents on private instance - jsheth - 03-17-2016 07:43 AM

Thanks Patrick for the reply!

I just want to create a relay to webpagetest.org with API key I have received from you.
When I connect using following:

[WPT_Banglore]
browser=Chrome
label="Banglore- Vodafone 3G"
relayServer="http://www.webpagetest.org/"
relayKey=A.758dxxxxab62d4
relayLocation=Bangalore_Headspin

It says: The testing completed but failed.
Failed to configure IPFW/dummynet. Is it installed?

I'm not sure if locations.ini as above is correct?
Please help!

Thanks,
JAy


RE: locations.ini for mobile agents on private instance - jsheth - 03-24-2016 08:44 AM

Is the above configuration correct? Can anyone please help?


RE: locations.ini for mobile agents on private instance - pmeenan - 03-29-2016 12:57 AM

You can only relay to locations that the API key can be used for. The A.* set of self-provisioned API keys do not have access to the Bangalore Headspin test location.


RE: locations.ini for mobile agents on private instance - jsheth - 03-29-2016 04:14 AM

Thanks for the reply!

Is there any way to relay to Banglore Headspin location from private instance?
Any future plan with WPT to make it available ?

Thanks,
Jay


RE: locations.ini for mobile agents on private instance - pmeenan - 03-30-2016 10:27 PM

If you email me directly I can provide one-off API keys with access to more locations (if you have emailed and I haven't responded yet sorry about the delay, just getting back from vacation).


RE: locations.ini for mobile agents on private instance - jsheth - 03-31-2016 07:01 AM

Excellent! Thanks you very much!