CATS is a REST API Fuzzer and negative testing tool for OpenAPI endpoints. CATS automatically generates, runs and reports tests with minimum configuration and no coding effort. Tests are self-healing and do not require maintenance.
Apache License 2.0
1.11k
stars
75
forks
source link
Any way to apply all fuzzers regardsless of field types? #51
As title, some fuzzers are skipped due to not matching with field types even though I've tried to define field types as below:
` properties:
mobileNumber:
type:
oneOf:
type: string
type: number
type: integer
type: boolean
type: array
items: {}
type: object`
For example below String fuzzer is skipped although I want to it to be applied
[*Test 88**][VLSIFF*] ℹ info Send [very large string values] in request fields: field [xxxxx], value [REPLACE with fuzzfuzzfuzzfuzzfuzzfuzzfuzzfu...], is required [TRUE] [*Test 88**][VLSIFF*] ℹ info Test will be skipped! [*Test 88**][VLSIFF*] ≫ skip Skipped due to: Field could not be fuzzed. Possible reasons: field is not a primitive, is a discriminator or is not matching the Fuzzer schemas [*Test 88**][VLSIFF*] ★ star Test 88, Path ####, HttpMethod ####, Result skipped
So do you know any way to enforce it or do I need to correct my openAPI spec?
As title, some fuzzers are skipped due to not matching with field types even though I've tried to define field types as below:
` properties: mobileNumber: type: oneOf:
For example below String fuzzer is skipped although I want to it to be applied
[*Test 88**][VLSIFF*] ℹ info Send [very large string values] in request fields: field [xxxxx], value [REPLACE with fuzzfuzzfuzzfuzzfuzzfuzzfuzzfu...], is required [TRUE] [*Test 88**][VLSIFF*] ℹ info Test will be skipped! [*Test 88**][VLSIFF*] ≫ skip Skipped due to: Field could not be fuzzed. Possible reasons: field is not a primitive, is a discriminator or is not matching the Fuzzer schemas [*Test 88**][VLSIFF*] ★ star Test 88, Path ####, HttpMethod ####, Result skipped
So do you know any way to enforce it or do I need to correct my openAPI spec?