WebPagetest installation issue

I’ve installed WebPagetest Private Instance version 2.8 using Linux server and separated Windows XP SP3 test machine.

  1. locations.ini on server machine:
    [locations]
    1=xp
    default=xp
    [xp]
    1=IE
    2=Other
    label=xp
    [IE]
    browser=IE 8
    latency=0
    label=“IE 8”
    key=webpagetest
    [Other]
    browser=Firefox
    key=webpagetest
    label=“Firefox”

  2. On client side
    a) urlBlast.ini
    [Configuration]
    Startup Delay=30
    Timeout=120

Url Files Url=http://server/work
Location IE
Location Key=webpagetest

b) wptdriver.ini
url=http://server/
location=xp
browser=firefox
key=webpagetest

[Firefox]
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 - Configuring 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.

[code][locations]
1=xp
2=laptop
default=xp

[laptop]
1=laptop-IE
2=laptop-Other
label=xp

[laptop-IE]
browser=IE 8
latency=0
label=“IE 8”
key=webpagetest

[laptop-Other]
browser=Firefox
key=webpagetest
label=“Firefox”[/code]

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).