Skip to content

danielatk/wptagent-automation

Repository files navigation

wptagent-automation

Description:

This is the client-side part of a a data collection automation project. This should be deployed at a dedicated machine.

The following tests are currently supported:

  • WebPageTest jobs with video reproductions or webpage visits, which are scheduled via the server-side part of this project (https://github.com/danielatk/wptagent-control)
  • webpage visits via Chromedriver, with ATF estimation plugin
  • webpage visits via puppeteer, with ATF estimation plugin
  • NDT tests (with optional traceroute)

For webpage visits a list of top 100 webpages visited in Brazil is used. For videos a list of 147 videos with 4K option is given. These can be easily customized.

The NDT and traceroute results are sent via SSH and the ATF estimation plugin results are sent via XML to a node server.

Deployment:

To setup the environment variables and the WebPageTest agent, download the initial setup script with the following command: curl https://raw.githubusercontent.com/danielatk/wptagent-automation/main/scripts/first_setup.sh > first_setup.sh To run the script execute the following command: bash first_setup.sh

Note that this setup script sets the WebPageTest agend id as the MAC address of the device. This must correspond with the the value given in the WebPageTest server locations.ini file or else the WPT agent will not be able to get jobs from the WPT server.

Once this script has been executed, reboot the system. After this the client should be running the automated experiments and receiving the WPT jobs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published