Sign inSign up

petitchevalroux/static-website-sample

By petitchevalroux

Updated almost 8 years ago

Nginx based image containing a testing sets of html, js, css and image files

Image
0

698

petitchevalroux/static-website-sample repository overview

Sample Static Website

This repo contains a set of static files (image, js, css and html) generated with Wordpress, Fakerpress and httrack.

The goal is to use this files with Siege to stress test http servers with a list of urls.

Usage

Start container

docker run -p 8080:80 petitchevalroux/static-website-sample

Download urls list

wget https://raw.githubusercontent.com/petitchevalroux/static-website-sample/master/urls.txt

Launch benchmark (default mode)

siege -f urls.txt

By default siege never stop, just Ctrl+C in order to see performance statistics and stop it.

Launch benchmark (never ending)

siege -f urls.txt

By default siege never stop, just Ctrl+C in order to see performance statistics and stop it.

Benchmark all urls once

siege -r once -f urls.txt

Building

Clone current repository

docker run -p 8080:80 petitchevalroux/static-website-sample

Change directory to cloned one

cd static-website-sample

Build docker image

docker build . -t static-website-sample

Run docker image

docker run -d -p 80:80 static-website-sample

Launch siege

siege -f urls.txt

Author : Patrick Poulain

Tag summary

Content type

Image

Digest

Size

81 MB

Last updated

almost 8 years ago

docker pull petitchevalroux/static-website-sample