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

Add simple load tests #206

Merged
merged 6 commits into from
Aug 29, 2024

Conversation

ricardogsilva
Copy link

@ricardogsilva ricardogsilva commented Aug 27, 2024

This PR adds some basic load tests and integrates locust into the development stack. Here is a screenshot of the locust UI when running the tests locally:

image

This PR also adds running the load tests in CI by means of running locust in headless mode. As such, in the CI pipeline we will now be running the load tests with:

  • 20 simultaneous users
  • with a spawn rate of 5 users/second
  • running for 60 seconds

The CI will then fail if:

  • there is more than 1% of load tests that fail
  • the average response time is > 1000 ms
  • the 95th percentile response time is > 2000 ms

@ricardogsilva ricardogsilva marked this pull request as ready for review August 28, 2024 15:14
@francbartoli francbartoli merged commit 5125191 into geobeyond:main Aug 29, 2024
1 check passed
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.

Add system load tests
2 participants