Current time: 11-22-2019, 08:11 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wpt Driver running but no test results
07-23-2013, 07:07 AM
Post: #1
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.

2.
_____________________________
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"

3.
______________________________________________________
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.

4. Ran the wptdriver app manually and it started polling for Work telling.
"Waiting for Work ...".

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

6. I can see the agents http://<mydomain>/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 - <b>Cable</b> 0 0 4c4f1de31058e0590668e1a7edd79957c2aee4c4 2
2013-07-22 19:58:31 10.33.200.24 0 0 130722_W8_C http://www.google.com Local - <b>Cable</b> 0 0 4c4f1de31058e0590668e1a7edd79957c2aee4c4 2

Any idea on where i have gone wrong ?
Find all posts by this user
Quote this message in a reply
07-23-2013, 11:13 PM
Post: #2
RE: Wpt Driver running but no test results
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).
Visit this user's website Find all posts by this user
Quote this message in a reply
07-24-2013, 01:11 AM
Post: #3
RE: Wpt Driver running but no test results
1. WPT version : 2.11

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

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

4. 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"

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

6. The wptdriver is up and running and says "Waiting for Work".
7. 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. -> http://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://<server>/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://<server>/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 <Servername> 34.529 127.0.0.1 0 0 1


** do i need to uninstall chrome and start over from scratch ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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