GithubHelp home page GithubHelp logo

alexandrepasc / apache-bench-docker Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3 KB

A project with a docker to execute the Apache Bench application

Dockerfile 15.72% Shell 84.28%
ab apache-bench apache-benchmark docker dockerfile

apache-bench-docker's Introduction

Apache-Bench-Docker

Dockerfile

The dockerfile with the instructions to create the image with the Apache Bench application.

create.sh

Will create the docker image using the Dockerfile as base, the created image name is apacheb-img.

Execute:

./create.sh

start_ab.sh

To create and start the docker container, using the apacheb-img as base, the container name is apacheb. The container will have a volume in /home/reports linked to the project folder reports.

Execute:

./start_ab.sh

delete_ab.sh

Delete the apacheb docker container.

Execute:

./delete_ab.sh

delete_ab_image.sh

Delete the apacheb-img docker image.

Execute:

delete_ab_image.sh

run_test.sh

To execute the tests with the -r param so the test doesn't stop with errors, storing te reports in the reports folder and setting the date time for the reports name.

Parameters:

-n value the number of requests

-c value the number of concurrent users

-t value max time to execute the tests

-h host the host the the test will do the requests

Execute:

./run_test.sh (-n -c -t -h)

Execute in docker

docker exec -it apacheb /home/run_test.sh (-n -c -t -h)

apache-bench-docker's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.