WebPagetest Forums
Poll request from different installation - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Poll request from different installation (/showthread.php?tid=12187)

Pages: 1 2


Poll request from different installation - andreapernici - 04-16-2013 10:07 PM

Is possible from an agent server to poll requests from various host?

Example

website1.com
website2.com

so I can put the WPT on different sites using the same agents?


RE: Poll request from different installation - pmeenan - 04-16-2013 10:14 PM

No, but you can have the WPT server "relay" tests through another server. That way you can have one private instance that all of the test agents connect to and another private instance that may have it's own agents but also uses agents from the other instance. The only requirement is that the web server that needs to relay tests through the other needs to be able to connect to the other web server (port 80, standard http interface).

API keys are used to lock down the relay testing so that it doesn't become a wide-open system.


RE: Poll request from different installation - andreapernici - 04-16-2013 10:49 PM

Is there some documentation or tutorial on how to configure as a relay?


RE: Poll request from different installation - pmeenan - 04-16-2013 11:19 PM

The last location in the locations sample shows how to configure a location that is relayed to another server: http://webpagetest.googlecode.com/svn/trunk/www/webpagetest/settings/locations.ini.sample


RE: Poll request from different installation - andreapernici - 04-18-2013 09:15 PM

Ok good. Where I must specify the API Key in the installation?


RE: Poll request from different installation - pmeenan - 04-18-2013 10:03 PM

On your server there is a /settings/keys.ini.sample which is an example of what the keys file looks like (rename it to keys.ini).


RE: Poll request from different installation - andreapernici - 04-18-2013 11:04 PM

On the relay server I must do something or adding a key is enough?


RE: Poll request from different installation - pmeenan - 04-18-2013 11:49 PM

Just adding a key is all you need to do (technically it will work without a key as well - that will just leave it as an open server). The client system just uses the API entry points for relaying tests.


RE: Poll request from different installation - andreapernici - 04-19-2013 12:16 AM

Which is the linux command to check if the correct ports are open?

I configured everything but I don't get the browser from the relay location.


RE: Poll request from different installation - pmeenan - 04-19-2013 12:49 AM

you should be able to curl or wget to the relay server's web interface (it's all just port 80).

wget http://1.2.3.4/