Wpt Driver running but no test results

Hi,

OS : Win Server 2008 R2 standard (64 bit).
Aim: I am trying to test the set up only locally by following Andy davies blog. For now i want to only test the Chrome version only as we dont have IE 9/8 installed on that server.

Steps completed.

  1. successfully installed 64 bit version of the dummynet.
    verified that the LAN adapter had the dummynet+ipfw installed
    after restarting and when executed ipfw cmd application it ran the
    default rules.


  Locations.ini

[locations]
1=Local
default=Local

[Local]
1=Local-URLBlast
2=Local-WPTDriver
label=Local

[Local-URLBlast]
browser=IE 9
latency=0
label=“Local - IE 9”
;browserExe=pagetest.exe
;key=TestKey123

[Local-WPTDriver]
browser=Chrome
label=“Chrome”


wpt-driver.ini - I gave all absolute paths for the chrome options.


[WebPagetest]
url=http://127.0.0.1/
location=Local-WPTDriver
browser=chrome
key=TestKey123

[Chrome]
exe=“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”
options=‘–load-extension=“E:\software\wpt-agent\extension” --user-data-dir=“C:\Users<User-name>\AppData\Local\Google\Chrome\User Data\Default” --no-proxy-server’
installer=http://127.0.0.1/installers/browsers/chrome.dat
*** recycled the whole server.

  1. Ran the wptdriver app manually and it started polling for Work telling.
    “Waiting for Work …”.

  2. Opened a chrome browser and went to my actual Server site
    http://<mylocaldomain.com>/index.php. Selected Dropdowns:
    Location:Local
    Browser: Chrome.
    gave a sample URL. → begin test.
    ***PROBLEM: the chrome browser just closes off without giving any Errors/results but still the wptdriver agent still keeps polling with the message “waiting for work”. No informative messages in apache/wptdriver’s logs.

  3. I can see the agents http:///getLocations.php

Location Idle Testers Total Tests Being Tested High Priority P1 P2 P3 P4 P5 P6 P7 P8 P9
Local-URLBlast 0 1 0 1 0 0 0 0 0 0 0 0 0
Local-WPTDriver 1 0 0 0 0 0 0 0 0 0 0 0 0

and the wpt-driver logs give the message:
2013-07-22 19:56:22 10.33.200.24 0 0 130722_WS_B http://www.google.com Local - Cable 0 0 4c4f1de31058e0590668e1a7edd79957c2aee4c4 2
2013-07-22 19:58:31 10.33.200.24 0 0 130722_W8_C http://www.google.com Local - Cable 0 0 4c4f1de31058e0590668e1a7edd79957c2aee4c4 2

Any idea on where i have gone wrong ?

You should restore the %WPTDIR% and %PROFILE% strings to the wptdriver command line. %PROFILE% in particular is a specific directory that wptdriver creates and knows how to clean up.

Is your chrome installed to the path that the ini has? Depending on the installer (if you installed it manually) it may have installed to appdata.

What version of wptdriver are you using? The latest release is 2.12.0.125 (though anything in the 2.12 should be recent enough).

  1. WPT version : 2.11

2.Chrome has been installed manually by me to:
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

  1. wptdriver.ini PATH
    E:/software/wpt-agent/wptdriver.ini

  2. Updated Locations.ini without the URLblaster:


Locations.ini


[locations]
1=Office_Local
default=Office_Local

[Office_Local]
1=Local-WPTDriver
label=“Local Office (New York - Chrome)”

[Local-WPTDriver]
browser=Chrome
label=“Chrome Office LAN”

  1. updated WPTDriver.ini

updated WPTDriver.ini


[WebPagetest]
url=http://127.0.0.1/
location=Local-WPTDriver
browser=Chrome
label=“Chrome Office LAN”

[Chrome]
exe=“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”
options=‘–load-extension=“%WPTDIR%\extension” --user-data-dir=“%PROFILE%” --no-proxy-server --new-window --no-first-run --no-default-browser-check --enable-experimental-extension-apis’
installer=http://127.0.0.1/installers/browsers/chrome.dat

  1. The wptdriver is up and running and says “Waiting for Work”.
  2. Still facing the sameproblem as of yesterday:http://<mylocaldomain.com>/index.php. Selected Dropdowns:

Test Location:Local Office (New York - Chrome)
Browser: Chrome.

gave a sample URL. → www.yahoo.com → START test.
***PROBLEM: the chrome browser just closes off without giving any Errors/results but still the wptdriver agent still keeps polling with the message “waiting for work”. No informative messages in apache/wptdriver’s logs. When i open the chrome again (manually) and goto “Test History” Link → Details Link for that test → It shows all 0.000s results.

http:///getLocations.php
Location Idle Testers Total Tests Being Tested High Priority P1 P2 P3 P4 P5 P6 P7 P8 P9
Local-WPTDriver 1 0 0 0 0 0 0 0 0 0 0 0 0

http:///getTesters.php
Local-WPTDriver (0 minutes)
Tester Version PC EC2 Instance Free Disk (GB) IE Version IP Busy? Last Check (minutes) Last Work (minutes)
1 101 34.529 127.0.0.1 0 0 1

** do i need to uninstall chrome and start over from scratch ?