Adding Public Locations to a Private WebPageTest Instance
If you’ve got your own Private WebPageTest instance, and you want to add extra locations without setting up the test agents yourself then you can add agents from another instance.
Once configured your local WebPageTest instance submits tests and retrieves results via the API of the remote WebPageTest instance (aka Relay Server), and the pages are tested on the remote instance’s agents.
Using a Relay Server is also handy if you want to do local development on the server code without needing to setup Windows (or mobile) test agents.
Assuming you’ve already got a WebPageTest server set up, then adding relay server agents just involves adding some extra entries to locations.ini.
A simple locations.ini that just has the public Singapore test agents as a location looks like this: