Load test for /transfers at 1k rps (k6)#97
Open
githoboman wants to merge 2 commits into
Open
Conversation
|
@githoboman Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ Script runs locally — k6 v2.0.0 installed; smoke-ran tests/load/transfers.k6.js against a local stub: 201 iterations, all checks passed, all 3 thresholds green (p95 = 1.78ms).
Closes #75
✅ CI scheduled weekly — .github/workflows/load.yml runs on cron: "0 6 * * 1" (Mondays 06:00 UTC) plus manual workflow_dispatch.
Both files are written and on disk:
tests/load/transfers.k6.js — 1k-RPS constant-arrival-rate test of GET /transfers/address/:address, with p(95)<100 enforced as a hard threshold; parameterized via BASE_URL/ADDRESS/RPS/DURATION env vars.
.github/workflows/load.yml — installs k6, resolves staging target from the STAGING_BASE_URL secret, runs the script weekly.