Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance testing #25

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Performance testing #25

wants to merge 5 commits into from

Conversation

TAnas0
Copy link
Owner

@TAnas0 TAnas0 commented Oct 7, 2024

Database seeding

Implemented script to generate and seed random Providers and ServiceAreas into the database. Data is generated randomly based on the Faker PIP package.

It can be ran using python -m scripts.seed_database

Perormance/load testing

Developed Locust test for the Point-In-Polygon endpoint, utilizing a grid of random points for evaluation. Note testing it requires to disable rate limiting.

Can be ran using locust -f scripts/locust.py, then visit http://localhost:8089. You can then configure the load testing and see statistics, charts, logs, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant