DPTO is an accelerator template developed to facilitate the rapid deployment and scaling of distributed performance testing workflows. It works with Jmeter to distribute your load amongst multiple slaves, helping user with an automated setup and execution of their Jmeter tests in a master-slave architecture.
- Distributed Architecture: Supports scalable load generation across multiple nodes.
- Modular Design: Structured for flexibility and ease of integration into existing CI/CD pipelines.
- Automated Execution: The framework enables user to run their jmeter tests in an automated setup where user does not have to do any manual setup
- Minimal Configuration: The user can run the framework by providing minimum information and let the framework do the setup and execution
distributed-performance-testing/
├── config/ # Configuration files for test setups
├── src/ # Source code and scripts
├── test-files/ # Sample JMeter test plans and related assets
├── .env.template # Environment variable template
├── Dockerfile # Docker image definition
├── docker-compose.yml # Docker Compose configuration
├── package.json # Node.js project metadata
└── README.md # Project documentation
git clone https://github.com/NashTech-Labs/distributed-performance-testing.git
cd distributed-performance-testing
Copy the .env.template to .env and modify the variables as needed.
cp .env.template .env
npm install
4. (Optional. Only run if no server/container setup is already present) Build and Start the Containers
You only need to do this step if you do not have a server setup of your own to run the project. If you just want to test this project out and do not have any servers or containers already set up of your own, then please run the following commands as well.
docker-compose up --build
Place your JMeter .jmx test plans into the test-files/ directory.
Run "node index.js" to start the execution
Access logs and reports generated by JMeter to analyze performance metrics in \test-files folder