Skip to content

feat: Implement Load Testing with k6#451

Open
jessicanath wants to merge 1 commit into
devEunicee:mainfrom
jessicanath:feat/351-load-testing
Open

feat: Implement Load Testing with k6#451
jessicanath wants to merge 1 commit into
devEunicee:mainfrom
jessicanath:feat/351-load-testing

Conversation

@jessicanath

Copy link
Copy Markdown
Contributor

Summary

Sets up k6-based load testing covering all required scenarios and integrates them into CI.

Changes

  • load-tests/k6/load-test.js — k6 test with ramp-up, sustained, spike, and endurance scenarios
  • load-tests/README.md — instructions for running tests and analysing results
  • .github/workflows/load-test.yml — CI workflow running load tests on every push to main

Acceptance Criteria Met

  • ✅ Load test scenarios for critical flows (payment processing, history queries)
  • ✅ Gradual load increase (ramp-up: 0 → 50 VUs over 2 min)
  • ✅ Sustained load testing (100 VUs for 10 min)
  • ✅ Spike testing (0 → 500 VUs in 30 s)
  • ✅ Endurance testing (50 VUs for 2 h, run separately)
  • ✅ Performance bottlenecks identified via custom payment_duration trend metric
  • ✅ Capacity planning thresholds defined (p95 < 2 s, p99 < 5 s, error rate < 5%)
  • ✅ Automated load testing in CI via .github/workflows/load-test.yml

Closes #351

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@jessicanath 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! 🚀

Learn more about application limits

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.

#351 - Implement Load Testing

1 participant