WebPagetest Forums
Work request responded with 400 - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Work request responded with 400 (/showthread.php?tid=11897)



Work request responded with 400 - sneha - 11-20-2012 05:19 PM

hi,
I have installed webpagetest tool in windows 2003 server edition.when i run the test in the browser im getting the result as:

Waiting behind 4 other tests.

when i logged the process using debug=1 in urlBlast.ini
im getting the msg as:
work request responded with 400

these are my files
locations.ini

[locations]
1=Office
default=Office

;
; These are the top-level locations that are listed in the location dropdown
; Each one points to one or more browser configurations
;

[Office]
1=Office-IE
2=Office-wpt
label="Office-LAN"

;
; Tese are the browser-specific configurations that match the configurations
; defined in the top-level locations. Each one of these MUST match the location
; name configured on the test agent (urlblast.ini or wptdriver.ini)
;

[Office-IE]
browser=IE 8
latency=0
label="Office-IE"
;browserExe=pagetest.exe
;key=TestKey123

;
; For a wptdriver configuration (chrome, firefox), the browser labels here
; MUST match the labels used in wptdriver.ini
;

[Office-wpt]
browser=Chrome,Firefox
label="Office-wpt"

urlBlast.ini

[Configuration]
Startup Delay=30
Log File=c:\webpagetest\urlblast
Timeout=120
use current account=1
debug=1

; Where to get work from
Url Files Url=http://127.0.0.1/work/
Location=Office-IE
Location Key=TestKey123

wptdriver.ini

[WebPagetest]
url=http://127.0.0.1/
location=Office-wpt
browser=chrome
key=TestKey123
;Automatically install and update support software (Flash, Silverlight, etc)
software=http://www.webpagetest.org/installers/software.dat

[chrome]
exe="C:\Program Files\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --no-proxy-server'
installer=http://www.webpagetest.org/installers/browsers/chrome.dat

[Firefox]
exe="C:\Program Files\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox

i have installed dummynet ,using xampp as the localhost.

please let me know what went wrong..

Thanks,
sneha.


RE: Work request responded with 400 - pmeenan - 11-21-2012 06:10 AM

The configs look fine. Can you check the access logs for xampp to see why 400's are being generated? Sounds like the agent is having problems making requests to http://127.0.0.1/work/getwork.php


RE: Work request responded with 400 - sneha - 11-21-2012 04:36 PM

hi,
thanks for the quick reply..
I have changed the port to 8030 as port 80 was listening to other process,
do i have to mention the port in urlBlast.ini and wptdriver.ini.

xampp access log:

127.0.0.1 - - [20/Nov/2012:21:01:47 -0800] "GET /result/121121_JJ_1/ HTTP/1.1" 200 4534 "http://localhost:8030/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
127.0.0.1 - - [20/Nov/2012:21:01:47 -0800] "GET /js/site.js?v=20 HTTP/1.1" 200 251393 "http://localhost:8030/result/121121_JJ_1/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
127.0.0.1 - - [20/Nov/2012:21:01:47 -0800] "GET /images/status_waiting.png HTTP/1.1" 200 1694 "http://localhost:8030/result/121121_JJ_1/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
127.0.0.1 - - [20/Nov/2012:21:01:47 -0800] "GET /pagestyle.css?v=59 HTTP/1.1" 200 15203 "http://localhost:8030/result/121121_JJ_1/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
127.0.0.1 - - [20/Nov/2012:21:01:47 -0800] "GET /images/gloss30.png?v=2 HTTP/1.1" 200 114 "http://localhost:8030/result/121121_JJ_1/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
127.0.0.1 - - [20/Nov/2012:21:01:47 -0800] "GET /images/logo_private.png HTTP/1.1" 200 5967 "http://localhost:8030/result/121121_JJ_1/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

Thanks,
sneha.


RE: Work request responded with 400 - sneha - 11-21-2012 07:58 PM

hi ,
i have fixed the problem, there was problem in installing my dummynet. i reinstalled and now its working fine.Smile


Thanks,
sneha.