Simple App to test CI/CD with Blazemeter Taurus & Jenkins Pipeline
Follow this guide to set up Apache, MySql, and PHP (AMP stack).
Once complete, the app will be available at e.g. http://localhost/~David/blazemeter-demo/app/
From the project directory, run make network
so that our containers can communicate with each other.
Then run make app
to run the app inside a Docker container at http://localhost:8888.
Follow this guide to install Taurus/bzt on the OSX command line. Running from the command line allows for live visualization of performance test runs.
Alternatively, you can make bzt
to run Taurus inside a Docker container. Be sure to make app
first.
When finished, run make clean
to stop the app and remove stopped containers.
- Run Jenkins via
make jenkins
(be sure tomake network
first if you haven't done this already) - Install the Performance Plugin (required) and the Blue Ocean Plugin (optional)
- Create a MultiBranch Pipeline that points to this repo
- Build! For more details, see
Jenkinsfile
in the project root directory.