Files
ShieldAI/scripts/load-test/services/spamshield.js
Michael Freno 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

2.5 KiB