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.17k stars 74 forks source link

Positive test with CAT #56

Closed dglee0307 closed 1 year ago

dglee0307 commented 1 year ago

I understand that CATS is a tool for negative testing. Can I do a positive test using CATS?

en-milie commented 1 year ago

Yes. CATS has a HappyFuzzer and a ExamplesFieldsFuzzer which will send positive testing scenarios. The first one will construct a requests that is compliant with all the constraints set in the OpenAPI file. The ExamplesFieldsFuzzer will iterate through examples defined in the OpenAPI specs and send them to the service endpoint. Additionally, you can follow the steps here: https://endava.github.io/cats/docs/fuzzers/special-fuzzers/functional-fuzzer to create functional flows across multiple service calls. CATS will take care of generation of the request. You just need to do the wiring and configure response fields to request fields in the next service call.

en-milie commented 1 year ago

Hi @dglee0307. Do you need additional details?

en-milie commented 1 year ago

Closing this for now.

dglee0307 commented 1 year ago

sorry for reply. thank you @en-milie