Current time: 09-21-2019, 06:53 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work request responded with 400
11-20-2012, 05:19 PM
Post: #1
Work request responded with 400
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.
Find all posts by this user
Quote this message in a reply
11-21-2012, 06:10 AM
Post: #2
RE: Work request responded with 400
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
Visit this user's website Find all posts by this user
Quote this message in a reply
11-21-2012, 04:36 PM
Post: #3
RE: Work request responded with 400
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.
Find all posts by this user
Quote this message in a reply
11-21-2012, 07:58 PM
Post: #4
RE: Work request responded with 400
hi ,
i have fixed the problem, there was problem in installing my dummynet. i reinstalled and now its working fine.Smile


Thanks,
sneha.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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