Commit Graph

2 Commits

Author SHA1 Message Date
d2097d8930 Fix spamshield k6 test to match actual API routes FRE-4929
- Rewrote spamshield.js to test real endpoints: POST /sms/classify,
  POST /number/reputation, POST /call/analyze, POST /feedback,
  GET /history, GET /statistics
- Added proper P99 latency thresholds per classification type:
  SMS classify < 150ms, number reputation < 300ms, call analyze < 400ms
- Previous version tested non-existent endpoints (/classify, /health, /blocklist/check)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-09 10:06:33 -04:00
a804cab431 Add load testing job to GitHub Actions CI pipeline (FRE-4931)
- Add load-test job to ci.yml that runs after docker-build on push to main
- Create combined load test runner (scripts/load-test/run-all.sh) for all services
- Create k6 load test scripts for api, darkwatch, spamshield, and voiceprint
- Add shared k6 utilities (lib/common.js)
- Update load-test.yml to support all services and report artifacts
- Configure k6 cloud output and P99 threshold validation
- Generate load test report as CI artifact

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-09 09:16:36 -04:00