Setting-up webpagetest private instance — In Draft

Webpagetest setup has two components

  1. Web Server (Can be Windows/Linux machine)
  2. Agent (Only Windows machine)

Both of these components can be run on single windows machine or split across machines

Webserver Setup

  1. Download and install Visual C++ 2010 SP1 Redistributable Package x86
  2. DOWNLOAD and install WAMPSERVER (32 BITS & PHP 5.3) 2.2E
    • www.wampserver.com/en
      • After the successful installation you should see the green ‘W’ icon in the system tray
      • Enable the rewrite_module –> This is required for video comparision and traceroute functionalities(urls)
        • This can be done by clicking on the ‘W’ system tray icon , selecting apache and extensions, and then select rewrite_module
  3. download ffmpeg from ffmpeg.zeranoe.com/builds/
    • Extract the zip file with winrar/7zip
    • Point the system ‘path’ variable to the directory containing ffmpeg executables
  4. Download the webpagetest 2.7 zip file
    • http://webpagetest.googlecode.com/files/webpagetest_2.7.2.zip
      • Unzip the webpagetest_2.7.2.zip and copy the www directory into the WAMP ‘www’ directory and rename as webpagetest
      • Update the httpd.conf

        Set the directory options to the following
        <Directory c:/performance/wamp/www/webpagetest>
        AllowOverride all
        Order allow,deny
        allow from all
        </Directory>
    • Set root directory to c:/performance/wamp/www/webpagetest, as all the references of webpagetest expect this to be root directory(for example CSS and JS files are expected under root directory)
      DocumentRoot "c:/performance/wamp/www/webpagetest"
  5. Setup the Location configurations as per : https://sites.google.com/a/webpagetest.org/docs/private-instances/locations

Agent Setup

  1. Copy the agent folder(of webpagetest_2.7.2.zip)

IOS Mobile Agent Setup

  1. http://andydavies.me/blog/2013/03/05/adding-ios-test-agents-to-a-webpagetest-instance/

References :

  1. Webpagetest Prviate instances doc
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: