MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Proxy config

WebPagetest Forums

Full Version: Proxy config
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey!
I know that using proxy is strongly discouraged however I'm looking for possible setup in our lab to check if results have some value. How should i configure urlblast.ini (user, password, proxy-url/port) ?

Regards.
You should be able to just configure IE to use a proxy server directly and then make sure to set "use current account=1" in urlblast.ini so it doesn't launch the browser as a different user.
Here's my urlBlast.ini (changed URL):

Quote:[Configuration]
Startup Delay=15
Log File=e:\spuzon\webpagetest\agent\urlblast
Timeout=120
use current account=1

Url Files Url=http://ec2-23-22-44-XX.compute-1.amazonaws.com/work/
Location=US_DFW_E_LAB_1_IE7
Location Key=XXXX
debug=1

Here's log from urlBlast:
Quote:2012/04/25 09:40:29 -1 5 1 0 0 URLBlast Started
2012/04/25 09:40:29 -1 5 1 4 0 CPU String Intel® Pentium® 4 CPU 2.40GHz
2012/04/25 09:40:29 -1 5 1 5 2400 CPU MHz
2012/04/25 09:40:29 -1 5 1 6 4031 Total RAM (MB)
2012/04/25 09:40:29 -1 5 1 7 28137 Disk Size (MB)
2012/04/25 09:40:29 -1 5 1 8 18400 Disk Free (MB)
2012/04/25 09:40:29 -1 5 1 9 5 OS Version Windows Server 2003 Service Pack 2 (5.2.3790 SP 2.0 Suite 0x00000112 Product 3)
2012/04/25 09:40:29 -1 5 1 10 0 Computer Name SQMDFWLOAD5
2012/04/25 09:40:29 -1 5 1 19 0 Info Screen: 1280 x 1024 - 16 bpp
2012/04/25 09:40:29 -1 5 1 11 7 IE Version 7.0.5730.13
2012/04/25 09:40:29 -1 5 1 12 312 URLBlast Version 2.2.0.312
2012/04/25 09:40:29 -1 5 1 20 0 Debug Running cmd /C "E:\spuzon\webpagetest\agent\dummynet\ipfw.cmd" in E:\spuzon\webpagetest\agent\dummynet\
2012/04/25 09:40:29 -1 5 1 20 0 Debug Initializing WinPCap
2012/04/25 09:40:29 -1 5 1 20 0 Debug Current WinPCap Version: WinPcap version 4.1.2 (packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b (20091008)
2012/04/25 09:40:29 -1 5 1 20 0 Debug Initializing WinPCap Complete
2012/04/25 09:40:29 -1 5 1 20 0 Debug Waiting for startup synchronization
2012/04/25 09:40:29 -1 5 1 20 0 Debug Running...
2012/04/25 09:40:29 -1 5 1 20 0 Debug Requesting work from ec2-23-22-44-XX.compute-1.amazonaws.com/work/getwork.php?location=US_DFW_E_LAB_1_IE7&key=XXXX&pc=SQMDFWLOAD5
2012/04/25 09:40:30 -1 5 1 20 0 Debug Job of type 'text/plain' received
2012/04/25 09:40:30 -1 5 1 20 0 Debug Work request response was empty


UrlBlast does not pick tasks but I can get them when I use same URL from logs in IE (same machine).

UAC is not installed.
Hmm, that's pretty strange because URLBlast obviously managed to reach the server, otherwise it wouldn't have gotten a response at all. I'm pretty sure URLBlast won't obey the proxy settings that IE is using - any chance it is talking to something else as a result?
I found that URL used by URLBlast is different from the what it logs. Access log shows this (notice freeDisk):

Quote:domU-12-31-39-03-C0-07.compute-1.internal:80 151.193.220.27 - - [04/May/2012:09:42:41 +0000] "GET /work/getwork.php?location=US_DFW_E_LAB_1_IE7&key=XXXX&pc=SQMDFWLOAD5&ver=312&freedisk=0.015 HTTP/1.1" 200 432 "-" "urlBlast"

I did some cleanup on C: and it starts tests now but it can't upload results:


Quote:2012/05/04 05:24:29 -1 5 1 20 0 Debug Uploading 35245 byte file C:\Documents and Settings\All Users\Application Data\urlblast\120504_NA_13-1_screen.jpg
2012/05/04 05:24:29 -1 5 1 20 0 Debug Uploading 36312 byte file C:\Documents and Settings\All Users\Application Data\urlblast\120504_NA_13-1_screen_doc.jpg
2012/05/04 05:24:39 -1 5 1 20 0 Debug Uploading 36312 byte file C:\Documents and Settings\All Users\Application Data\urlblast\120504_NA_13-1_screen_doc.jpg
2012/05/04 05:24:49 -1 5 1 20 0 Debug Uploading 36312 byte file C:\Documents and Settings\All Users\Application Data\urlblast\120504_NA_13-1_screen_doc.jpg
2012/05/04 05:28:59 -1 5 1 20 0 Debug Uploading 36312 byte file C:\Documents and Settings\All Users\Application Data\urlblast\120504_NA_13-1_screen_doc.jpg
2012/05/04 05:33:09 -1 5 1 20 0 Debug Uploading 36312 byte file C:\Documents and Settings\All Users\Application Data\urlblast\120504_NA_13-1_screen_doc.jpg

Same file is uploaded multiple times (notice few minutes time gaps) and UrlBlast hangs, results are not accessible in HOST, URLBlast does not do anything more (no activity in access log), do you think it might be due to proxy?
It's possible that the post requests are not going through the proxy properly - I've never tested it with a proxy in between URLBlast and the server.
how about the proxy for chrome&firefox config?
Reference URL's