Skip to content

test(QA): refactor Locust tests, add rate-limit and S3 load tests#16

Merged
codewithme-py merged 1 commit intomainfrom
test/mixed-redis-s3-layers
Mar 9, 2026
Merged

test(QA): refactor Locust tests, add rate-limit and S3 load tests#16
codewithme-py merged 1 commit intomainfrom
test/mixed-redis-s3-layers

Conversation

@codewithme-py
Copy link
Owner

  • Refactored Locust tests to use DRY helpers in BaseUser
  • Added locustfile_ratelimit to verify Redis Lua rate-limiting correctly returns 429 Too Many Requests for POST /api/v1/inventory/reserve.
  • Added locustfile_s3.py to stress-test POST /api/v1/media/products/{id}/upload_url generation.
  • Updated Makefile with targets ratelimit-test and s3-test.

@codewithme-py codewithme-py merged commit 6d26ad7 into main Mar 9, 2026
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.

1 participant