Replace Primitives With Arrays
Item | Description |
---|---|
Full Fuzzer Name | ReplacePrimitivesWithArraysFieldsFuzzer |
Log Key | RPWAF |
Description | This fuzzer will replace JSON primitives with JSON arrays. The expectation is that APIs will reject the request as invalid. This Fuzzer won't replace reference data. |
Enabled by default? | Yes |
Target field types | All primitive fields |
Expected result when fuzzed field is required | 4XX |
Expected result when fuzzed field is optional | 4XX |
Expected result when fuzzed value is not matching field pattern | 4XX |
Fuzzing logic | Iteratively replaces JSON primitives with the JSON array [{"catsKey1":"catsValue1"},{"catsKey2":"catsValue2"}] |
Conditions when this fuzzer will be skipped | When field is not a JSON primitive |
HTTP methods that will be skipped | None |
Reporting | Reports error if: 1. response code is 404 ; 2. response code is documented, but not expected; 3. any unexpected exception. Reports warn if: 1. response code is expected and documented, but not matches response schema; 2. response code is expected, but not documented; 3. response code is 501 . Reports success if: 1. response code is expected, documented and matches response schema. |