feat: add k6 per-endpoint load tests for issues #801-#804 - #831
Open
emmanueltony792-blip wants to merge 1 commit into
Open
feat: add k6 per-endpoint load tests for issues #801-#804#831emmanueltony792-blip wants to merge 1 commit into
emmanueltony792-blip wants to merge 1 commit into
Conversation
…ystyleseze#804 - load/pharmacy-compare.js (harystyleseze#801): ramping VUs against GET /pharmacy/compare with varied drug+zip params; p95/p99 latency thresholds, zero 5xx gate, custom metric for non-empty comparison results - load/drug-interactions.js (harystyleseze#802): small + large drug list scenarios for GET /drug/interactions; verifies O(n²) cap rejections, p95 latency, records interaction-pair counts - load/pharmacy-order.js (harystyleseze#803): burst + sustained concurrent POST /pharmacy/order against mock MPP facilitator; order-count integrity check in handleSummary, 503 throttle bound threshold - load/agent-stream.js (harystyleseze#804): soak (30 VUs × 2 min) + churn scenarios for GET /agent/stream SSE; post-run /agent/status health probe verifies event loop did not stall, documents memory/connection-leak verification steps - package.json: add load:pharmacy-compare, load:drug-interactions, load:pharmacy-order, load:agent-stream npm scripts - .gitignore: add test snapshots (__snapshots__/, *.snap), coverage, playwright results, k6 output files, OS artefacts, temp files
|
@emmanueltony792-blip is attempting to deploy a commit to the Harrison Eze's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@emmanueltony792-blip 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.
load/pharmacy-compare.js (k6 per-endpoint load test for GET /pharmacy/compare #801): ramping VUs against GET /pharmacy/compare with varied drug+zip params; p95/p99 latency thresholds, zero 5xx gate, custom metric for non-empty comparison results
load/drug-interactions.js (k6 per-endpoint load test for GET /drug/interactions #802): small + large drug list scenarios for GET /drug/interactions; verifies O(n²) cap rejections, p95 latency, records interaction-pair counts
load/pharmacy-order.js (k6 load test for POST /pharmacy/order (MPP charge path) #803): burst + sustained concurrent POST /pharmacy/order against mock MPP facilitator; order-count integrity check in handleSummary, 503 throttle bound threshold
load/agent-stream.js (k6 concurrency/soak test for GET /agent/stream SSE connections #804): soak (30 VUs × 2 min) + churn scenarios for GET /agent/stream SSE; post-run /agent/status health probe verifies event loop did not stall, documents memory/connection-leak verification steps
package.json: add load:pharmacy-compare, load:drug-interactions, load:pharmacy-order, load:agent-stream npm scripts
.gitignore: add test snapshots (snapshots/, *.snap), coverage, playwright results, k6 output files, OS artefacts, temp files
Closes #
closes #801
closes #802
closes #803
closes #804
What changed
How to test
Checklist
data/spending.json,data/orders.json) committed