Skip to content

DianaChj/dockerized-webpage-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Author:   Diana Chajkovska
Release:  9th Jan, 2020

This is tool for testing websites using https://www.webpagetest.org/. After test you will have a directory with artifacts that can be analyse later. The directory contains artifacts like:

  • report.html - this web page gives you some analytics about your website such as performance and accessibility; and you can get some advices in "best practicies" (generated by Lighthouse 5.6.0)
  • screenshot.jpg - screenshot of the website when loading is finished
  • video.mp4 - video of the loading
  • waterfall.png - resource loading waterfall charts

You can run it in Docker on any machine, all you need is just to install Docker. If you don`t have it just follow the tutorial: https://docs.docker.com/install

Usage

docker build -t ${IMAGE_NAME} . - run in directory with dockerfile

chmod +x script.sh

./script.sh ${IMAGE_NAME} $API_KEY $URL $USERNAME $PASS

TravisCI

You also can use Travis to make the docker image and push it to your DockerHub account. Just give the most important variables to the Travis when you will make a build. The list of the variables:

If your site closed and you need to use username and password to enter it add this variables:

  • USERNAME
  • PASS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published