Based off bayandin's webpagetest-private repository.
For local installation WebPagetest Private Instance, with a local Chrome agent driven by the node.js agent and Xvfb.
WebPagetest server and agent are configured to run all on one system - CentOS (with the web server and tests machine all running on the same VM).
The webpagetest-agent
Ansible role will:
- Install Chrome and Xvfb
- Setup appropriate webpagetest's locations.ini file, with a "Local" location
- Setup init.d script for Xvfb and the Chrome agent -
tail -f /opt/webpagetest/agent/js/agent.log
to see the agent logs
- Vagrant
- VirtualBox
- Ansible for provisioning
$ git clone https://github.com/mklabs/webpagetest-xvfb.git
$ vagrant up
You can also use the Ansible playbook without Vagrant.
# Edit /etc/ansible/hosts and add a node for [webpagetest-private]
$ ansible-playbook ./webpagetest-private.yml
and launch a test
MIT