Current time: 04-20-2014, 03:42 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] What's the best setup for Test Agent?
12-21-2012, 09:56 PM
Post: #1
[split] What's the best setup for Test Agent?
Now this has really got me confused Sad
I've been trying to configure wptmonitor for the past 4 days without any success.
I've downloaded the latest WPT release(2.9) from the site. Then downloaded the latest wptmonitor from the svn. configured the agent properly but still i'm not able to execute the Monitor jobs.

Its giving 1 Error:
Fatal error: Class 'HttpRequest' not found in C:\wamp\webpagetest\www\wptmonitor\wpt_functions.inc on line 139

and 2 notices:
1. Notice: Undefined index: "Local-WPTDriver:Chrome" in C:\wamp\webpagetest\www\wptmonitor\utils.inc on line 452
2. ( ! ) Notice: Undefined index: "Local-WPTDriver:Firefox" in C:\wamp\webpagetest\www\wptmonitor\utils.inc on line 452

I have following things enabled on WAMP:
1. php_curl
2. php_gd2
3. php_http
4. php_mbstring
5. php_mysql
6. php_mysqli
7. php_pedo_mysql
8. php_pedo_sqlite

I've also installed pear.


Given below is my location.ini (server)
------------------------------------
[locations]
1=Local
;2=Public_Dulles
default=Local

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

[Local]
1=Local-URLBlast
2=Local-WPTDriver
label=Local
connectivity=LAN

;[Public_Dulles]
;1=WPT_Dulles_IE8
;label="WebPagetest.org - Dulles, VA"

;
; 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)
;

[Local-URLBlast]
browser=IE 9
latency=0
label="Local - IE 9"
;browserExe=pagetest.exe
key=TestKey123
connectivity=LAN

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

[Local-WPTDriver]
browser=Chrome,Firefox
label="Local"
connectivity=LAN

;
; This is an exaple of a "remote" configuration where tests can be proxied to a remote
; webpagetest instance. The test will be run by the remote server but the results
; will be downloaded to the local server and deleted from the remote agent
;
; Each location that you want to use from the remote server needs to be configured
; individually on the local configuration (location names do not need to match)
;
; To use the public webpagetest.org instance you will need an API key
;

;[WPT_Dulles_IE8]
;browser=IE 8
;label="WebPagetest.org Dulles, VA - IE8"
; relayServer="http://www.webpagetest.org/"
; relayKey=<your API key>
; relayLocation=Dulles_IE8

----------
urlBlast.ini
----------
[Configuration]
Startup Delay=30
Log File=C:\wamp\webpagetest\agent\urlblast
debug=1
Timeout=120
use current account=1

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

-------------
wptdriver.ini
------------
[WebPagetest]
url=http://127.0.0.1/
location=Local-WPTDriver
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

[Safari]
exe="%PROGRAM_FILES%\Safari\Safari.exe"

I'll really appreciate your help with this. I'm not able to figure out what am i doing wrong here Sad

Regards,
Vivek
Find all posts by this user
Quote this message in a reply
12-27-2012, 01:12 AM
Post: #2
RE: [split] What's the best setup for Test Agent?
Moved this into it's own post and over to the WPTMonitor area.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-28-2012, 02:52 AM
Post: #3
RE: [split] What's the best setup for Test Agent?
What version of PHP have you got installed?

I had to go back to 5.3.17 as that's the last version I could find with working version of php_http.dll

This is the version on php_http.dll that I'm using http://downloads.php.net/pierre/php_http...c9-x86.zip

Andy
Visit this user's website Find all posts by this user
Quote this message in a reply
02-08-2013, 09:50 PM
Post: #4
RE: [split] What's the best setup for Test Agent?
same error here, my version is

php -v
PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built: Aug 6 2012 14:18:06)
Copyright © 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
with Suhosin v0.9.32.1, Copyright © 2007-2010, by SektionEins GmbH

Jean-pierre VINCENT
braincracking.org
Fork of WPT monitor private instance : https://github.com/jpvincent/WPT-server
Find all posts by this user
Quote this message in a reply
02-15-2013, 07:19 AM
Post: #5
RE: [split] What's the best setup for Test Agent?
It sounds like you need to install pecl_http

pecl install pecl_http

Tony Perkins
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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