https://github.com/novasamatech/load_scripts
https://github.com/novasamatech/load_scripts
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/novasamatech/load_scripts
- Owner: novasamatech
- License: apache-2.0
- Created: 2021-09-22T06:01:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T09:23:27.000Z (8 months ago)
- Last Synced: 2025-02-12T09:51:31.721Z (4 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 1
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Locust Load Testing Project
This project utilizes Locust, an open-source load testing tool, to simulate users interacting with a specific API endpoint.
## Getting Started
### Prerequisites
- Docker installed on your machine.
### Running the Project
Run:
```
docker-compose up --build
```Stop:
```
docker-compose down
```Web UI will be available on http://localhost:8089
After run, report will be available in [src/report.html](./src/report.html)
## Customization
You can customize the load test by modifying the environment variable in [.env](.env) file and [docker-compose.yml](./docker-compose.yml), like `WAIT_TIME` when running the Docker container. This variable determines the wait time between each task executed by the simulated users.
## Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues to improve the project or add new features.
## License
This project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.