Skip to content
Easily create your own WebPageTest Private Instance with Vagrant
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
.gitignore
LICENSE
README.md
Vagrantfile

README.md

WebPageTest Private Instance with Vagrant

About

Easily create your own local WebPageTest Private Instance with Vagrant.

WebPagetest is used for measuring and analyzing the performance of web pages.

WebPagetest Private Instance : official documentation

Project Status

This project is still in progress

  • WPT Server: ready (Vagrant VM)
  • WPT Agent: in progress

Requirements

Install:

Optional for Windows:

  • cmder (terminal with SSH)

Install

Open a terminal in your favorite path.

Clone the project from GitHub

$ git clone https://github.com/NicoPennec/vagrant-webpagetest.git  
$ cd vagrant-webpagetest/vagrant/

Vagrant configuration behind a proxy (optional)

$ vagrant plugin install vagrant-proxyconf

Edit the Vagrantfile file:

  • config.proxy.http = "http://your_proxy_:8080"
  • config.proxy.https = "http://your_proxy:8080"
  • config.proxy.no_proxy = "localhost,127.0.0.1"

Update your hosts

Edit your hosts configuration file:

  • Linux: /etc/hosts
  • MacOS: /private/etc/hosts
  • Windows: C:\Windows\System32\drivers\etc\
127.0.0.1   webpagetest

Init the VM

$ vagrant provision

Run the VM

$ vagrant up

Play with your local WebPageTest

http://webpagetest:8080/

Stop the VM

$ vagrant halt
You can’t perform that action at this time.