Endava / cats

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.2k stars 73 forks source link

Ignoring a field inside a functional fuzzer #72

Closed Peekmo closed 1 year ago

Peekmo commented 1 year ago

Hello !

Thank your for cats !

I'm facing an issue, as my API has some fields that can only be posted if you have the rights to, otherwise, you cannot post it (even if it's null) But I'm stuck with my functional fuzzer, as the field is described (but not required) in the open API documentation, cats is always trying to send it. I've tried to use the cats_remove_field value for my field, but it doesn't seems to work inside a function fuzzer. I've tried to add a refData with the cats_remove_field value when I run my functionalFuzzer as well, without success neither.

Is there any solution to ignore a field in a functionalFuzzer ?

Thank you Peekmo

en-milie commented 1 year ago

Hi @Peekmo. This is currently not possible. But makes sense to have it place. We will implement it in the next release.

en-milie commented 1 year ago

This is available in latest release: https://github.com/Endava/cats/releases

en-milie commented 1 year ago

Will close this now.