The package to set up your own private instance of WebPagetest is now available on sourceforge here.
This can be particularly useful if you want to test dev pages on your intranet or if you want to test from your own test location (though if you’d like to host a test location for public consumption, feel free to ping me).
The package as it is currently configured is expecting to run both the web server and testing from a single machine out of “c:\web site”. They can be split apart and/or moved to a different location, just make sure to update the appropriate configuration files.
[size=large]
Configuration files[/size]
All of the site configuration is now controlled by files in the content\settings folder:
[list]
[]settings.ini - Controls the features and customization of the site
[]locations.ini - Details on all of the test locations
[*]intro.ini - Introductory paragraph on the main page
[/list]
[size=large]New Install[/size]
Single machine configuration (web server and testers running on the same machine):
[list]
[]You need an XP or 2003 Server (XP is the most supported since that’s what I do most dev on)
[]URLBlast.exe needs to be added to the startup folder (or for testing, just manually started) – It is in the “Web Site” folder root
[]As far as software goes, you need Apache 2.2+ with PHP 5 installed and mod_rewrite enabled
[]There is a sample httpd.conf file for Apache in the Web Site folder
[]Disk space depends on how much history and volume you’re expecting but the requirements are pretty light – around 250 KB per test run so around 4000 per gig
[]Default OS accounts will get created the first time urlblast is run (user1, user2, etc). If you want to override the account names or passwords edit them in urlblast.ini
[*]The main account you want to use for running the controller software needs to be an admin account and configured to auto login (I use TweakUI to set up the auto login). Sorry, can’t run locked because the desktop needs to be visible to be able to capture the screen shots). If your remote system isn’t in a secure location and you don’t trust the remote hands and eyes this is the scariest part since the system will be logged in as an admin all the time (at the console).
[/list]
Multiple machine configuration (split web server from testers):
Web Server:
The web server can be running any OS that supports Apache 2.2+ and PHP 5 (Linux and Windows have been verified to work)
[list]
[]The web server can be running any OS that supports Apache 2.2+ and PHP 5 (Linux and Windows have been verified to work)
[]You need Apache 2.2 (or later) installed with mod_rewrite enabled
[]You need PHP 5 installed and configured to work with Apache and you need the gd2 plugin enabled
[]There is a sample httpd.conf file for Apache in the Web Site folder
[*]Disk space depends on how much history and volume you’re expecting but the requirements are pretty light – around 250 KB per test run so around 4000 per gig
[/list]
Test Machine:
[list]
[]You need an XP or 2003 Server (XP is the most supported since that’s what I do most dev on)
[]Copy urlblast.exe, urlblast.ini and pagetest.dll to a folder on the test machine
[]URLBlast.exe needs to be added to the startup folder (or for testing, just manually started) – It is in the “Web Site” folder root
[]Default OS accounts will get created the first time urlblast is run (user1, user2, etc). If you want to override the account names or passwords edit them in urlblast.ini
[*]The main account you want to use for running the controller software needs to be an admin account and configured to auto login (I use TweakUI to set up the auto login). Sorry, can’t run locked because the desktop needs to be visible to be able to capture the screen shots). If your remote system isn’t in a secure location and you don’t trust the remote hands and eyes this is the scariest part since the system will be logged in as an admin all the time (at the console).
[/list]
[size=large]Upgrade Existing Install[/size]
To upgrade an existing install, copy over the whole content folder except for the settings directory. You should also update your pagetest.dll and urlblast.exe binaries.
Jobsync has been replaced by a doing http posts directly to the web server for transmitting jobs around. You’ll want to look at the new urlblast.ini settings and copy the relevant ones over to your system (or overwrite your version and modify the new one).