WebPagetest Forums
More public test locations - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: More public test locations (/showthread.php?tid=14598)



More public test locations - aanichin - 11-16-2016 08:16 AM

I acquired an API key which allows me to test with the public test location in Dulles, VA.

Is it possible for me to add more public test locations to my private instance? How? Thanks!


RE: More public test locations - ShaneLabs - 11-17-2016 04:06 AM

Hey there - the API key that you most likely acquired is for you to use the public webpagetest.org instance. If you have a private instance then you don't need an API key, and can set up whatever locations you'd like to use. See how to define locations on a private instance


RE: More public test locations - aanichin - 11-17-2016 08:54 AM

webpagetest.org have test locations in North America, South America, Europe, Asia, etc.

I want to have these test locations in my private instance. Is that possible? Can I add locations I do not own? If I can I will need to update my locations.ini file. What exactly to put there?


RE: More public test locations - ShaneLabs - 11-18-2016 02:31 PM

Yes, you can have those test locations for your private instance if you spin them up and point them to your private instance. You would have to 'own' these agents. The website I linked to before has all the docs needed to walk you through this.


RE: More public test locations - aanichin - 11-19-2016 04:09 AM

(11-18-2016 02:31 PM)ShaneLabs Wrote:  Yes, you can have those test locations for your private instance if you spin them up and point them to your private instance. You would have to 'own' these agents. The website I linked to before has all the docs needed to walk you through this.

I guess I just can't explain it well enough. Let me try with pictures.

This is part of my locations.ini file related to the public test location in Dulles:

[Image: 23rpdnt.png]

This works fine with my private instance. The tests are proxied to a remote webpagetest instance and then the results are downloaded to my local server. I do not own the test agent in Dulles. I am just using it and I have a relay key for it.

What I want to do is to add another "remote" configuration for a webpagetest instance in Denver, Colorado:

[Image: 2hs6paq.png]

I know it exists because I can use it from webpagetest.org. For convenience I just want to add this test location to my private instance. How do I do that?

I am not sure how the Denver section in my locations.ini should look like. I guess

relayServer="http://www.webpagetest.org/"

what do I use for

browser=
relayLocation=


RE: More public test locations - aanichin - 11-19-2016 05:50 AM

I guess I was looking for this:

Adding Public Locations to a Private WebPageTest Instance

The only problem is that the browser is not always specified for a given location.


RE: More public test locations - pmeenan - 11-22-2016 12:29 AM

The list of location ID's that you can use to relay are Here: https://www.webpagetest.org/getLocations.php?k=A&f=html

For all of the EC2 locations, the browsers available are "Chrome,Firefox,IE 11" (and technically Safari but I wouldn't recommend using that anymore since it is the ancient Windows version).