Skip to main content

Invalid Values In Enums

ItemDescription
Full Fuzzer NameInvalidValuesInEnumsFieldsFuzzer
Log KeyIVIEF
DescriptionThis fuzzer will send invalid values in enum fields. The expectation is that APIs will reject the request as invalid, rather than implicitly defaulting to an enum value.
Enabled by default?Yes
Target field typesOpenAPI type string
Expected result when fuzzed field is required4XX
Expected result when fuzzed field is optional4XX
Expected result when fuzzed value is not matching field pattern4XX
Fuzzing logicIteratively replaces string fields that have enums defined with invalid values.
Conditions when this fuzzer will be skippedWhen field is not of type string or field is string, but does not have a defined enum
HTTP methods that will be skippedNone
ReportingReports 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.