28 / 89 · 04 API & Contract Testing with AI · Semantic API Fuzzing← prev⊞ allnext →☰ Read as one page
5.2Fuzzing Technique Comparison
| Technique | Example Payload | What It Finds |
|---|---|---|
| Random fuzzing | { "name": "x\x00\xff\xfe" } |
Buffer overflows, encoding errors |
| Schema-aware fuzzing | { "name": "", "price": -0.01 } |
Validation bypasses |
| Semantic fuzzing (AI) | { "name": "'; DROP TABLE products;--", "price": 0.001, "category": "electronics\nclothing" } |
Injection, logic errors, edge cases |
| Context-aware fuzzing (AI) | { "name": "Test Product", "price": 99999999.99, "quantity": 2147483647 } |
Integer overflow, precision errors |