Skip to content

Latest commit

 

History

History
83 lines (53 loc) · 1.56 KB

README.md

File metadata and controls

83 lines (53 loc) · 1.56 KB

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