I’ve installed WebPagetest Private Instance version 2.8 using Linux server and separated Windows XP SP3 test machine.
locations.ini on server machine:
On client side
Url Files Url=http://server/work
this section was copied from template
The problem is that I still have the following message under http://server/install:
No test agents are configured to render video
xp : xp
IE : IE 8 - No Agents Connected
Other : Firefox - No Agents Connected
According to webserver logs, communication between server and client is ok:
xp - - [01/Dec/2012:13:44:37 -0800] “GET /work/getwork.php?location=xp&key=webpagetest&software=wpt&ver=85&pc=xp HTTP/1.1” 200 - “-” “WebPagetest Driver”
Please advise on possible resolution.
In wptriver.ini I think location should be other?
Handy way to check if clients are connecting to the server OK is to use http://server/getLocations.php and check the test agents are listed in there.
This is a post I wrote on installing WPT that might be helpful - http://andydavies.me/blog/2012/09/18/how-to-create-an-all-in-one-webpagetest-private-instance/ though at least on person needed to change the updaters to point at webpagetest.org instead of 127.0.0.1
Is possible to install the agent in my laptop and make it run?
Do I need a public IP and where & how I must specify it in my locations.ini?
The agent doesn’t need a public IP so it can live behind a NAT connection
You could either add it in as another location e.g.
or add it as another browser to the xp location
Yes, you can install the agent on your laptop though not for production testing if you plan to use your laptop at the same time unless you run it in a VM (the agent launches browsers that take over the desktop while testing is running).
The thing I don’t understand is where I specify the IP of the agent in the webpagetest installation.
And the “key” valure what represents in the locations.ini? It is needed?
You don’t. The agents connect to the server to poll for work. The “key” is only needed if you want to secure your web server to make sure other agents don’t connect to it or spoof results (probably not an issue for a private instance).
Ok cause yesterday I tried to run URLblast locally but nothing happened when running a test from my private instance of wpt
The key match must be specified inside which files of the agent installation?
urlblast.ini has a server, location and locationkey that must match the server configuration in locations.ini (wptdriver.ini has another set for Chrome/Firefox testing).