WebPagetest Forums
WPT 2.5 Chrome-Firefox http code 404 - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: WPT 2.5 Chrome-Firefox http code 404 (/showthread.php?tid=10635)



WPT 2.5 Chrome-Firefox http code 404 - nikosd66 - 02-20-2012 06:16 AM

Hi,
I successfully managed to run wpt on Windows 2008 r2 server using IE9.
Problem is that I can't make it work with Chrome - Firefox. Browser doesn't open. I can see in my server access_log the following:
(ip)xxx.xxx.xxx.xxx - - [19/Feb/2012:20:39:16 +0200] "GET /webpagetest/work/getwork.php?location=Test_IE&key=&pc=SPEEDTESTER&ver=300 HTTP/1.1" 200 344 "-" "urlBlast"

(ip)xxx.xxx.xxx.xxx - - [19/Feb/2012:20:39:17 +0200] "GET /webpagetest/work/work/getwork.php?location=Test_Chrome&software=wpt&ver=38&pc=SPEEDTESTER&freedisk=11.470 HTTP/1.1" 404 487 "-" "WebPagetest Driver"

I suppose that HTTP/1.1 200 for urlblast is ok, that is why IE is working.
What about HTTP/1.1 404 for wptdriver?
wptdriver.ini is:
---------------------------------------------------------------
[WebPagetest]
url=http://www.checkdomains.co/webpagetest/work/
location=Test_Chrome
browser=chrome
;key=TestKey123
;debug=1

[chrome]
exe="C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --new-window --no-proxy-server --no-first-run --no-default-browser-check --enable-experimental-extension-apis'

[Firefox]
exe="C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
template=firefox
----------------------------------------------------------------------

paths are tested ok.
Do I have to replace %WPTDIR% and %PROFILE% with something?
I have to add that in /work/jobs/Test_Chrome directory, after a test attempt, there is a file created named: 120219_77_C1.url
containing the following:
Test ID=120219_77_C1
url=http://www.........com (here is the testing url ok)
fvonly=1
web10=1
ignoreSSL=1
runs=1
imageQuality=75

(I have made the last agent update.)
I would appreciate any help. Thank you.


RE: WPT 2.5 Chrome-Firefox http code 404 - pmeenan - 02-21-2012 01:47 AM

wptdriver.ini neets to NOT have the /work/ directory in the path - it is added automatically by the code (sorry for the inconsistency, was trying to move to a cleaner config).

As a side note, WPT doesn't do very well not being at the root of a domain - a ot of the paths are absolute and the UI will probably break.