Current time: 10-23-2017, 12:22 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up a Webpagetest Relay Server
07-25-2017, 07:10 AM
Post: #1
Setting up a Webpagetest Relay Server
Hi, I was wondering if anyone here might have any experience setting up a webpagetest private instance as a relay server? There's some mention of it here at the bottom of this page of documentation but it doesn't really go indepth: https://sites.google.com/a/webpagetest.o...test-relay

If anyone has any further information about the specifics we would need to change that would be incredibly helpful. Thanks!
Find all posts by this user
Quote this message in a reply
07-25-2017, 07:21 AM
Post: #2
RE: Setting up a Webpagetest Relay Server
Every WebPageTest instance is essentially a relay server so there's nothing you need to do specifically to enable the functionality. Just set the server up so you can run tests directly on it and then you can set up the client instance that relays tests to it.

The main issue comes if you want to lock the relay server down (i.e. if it is running outside of a firewall). In that case there are a few options:

1 - Enable API keys (settings/keys.ini) so anything using the API requires an API key (relayed tests go through the API)
2 - Make the server API-only by adding headless=1 to settings/settings.ini
3 - Set up firewall rules so that only the agents and the client can connect to it

The client WPT server submits a relay test to the relay WPT instance which runs the test like normal but stores the results in a separate location. When you check the client to see if the test is done, it checks with the server and if the test is complete the full test is downloaded off of the server (and deleted) and only kept on the client instance.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)