cats
cats copied to clipboard
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...
cats --server=https://my_server --contract=[swagger.json](https://apiconsole.ru1.wallarm.ru/swagger.json) --headers=my_headers.yaml --paths=/v1/objects/hint/create --blackbox --debug [**********][*******] 👣 trace Getting fields for prefix: [**********][*******] 👣 trace Getting fields for prefix: clientid java.lang.NullPointerException at com.endava.cats.model.FuzzingData.getFields(FuzzingData.java:94) at com.endava.cats.model.FuzzingData.getFields(FuzzingData.java:105) at com.endava.cats.model.FuzzingData.getAllFieldsAsCatsFields(FuzzingData.java:147) at...
(swagger.json in the attached zip file) ./cats --debug --paths=/api/groopits/create --contract=swagger.json --dryRun --server=http://example.com ` java.lang.NullPointerException at com.endava.cats.model.generator.PayloadGenerator.parseFromInnerSchema(PayloadGenerator.java:360) at com.endava.cats.model.generator.PayloadGenerator.processSchemaProperties(PayloadGenerator.java:342) at com.endava.cats.model.generator.PayloadGenerator.resolveModelToExample(PayloadGenerator.java:318) at com.endava.cats.model.generator.PayloadGenerator.getExampleFromArraySchema(PayloadGenerator.java:274) at com.endava.cats.model.generator.PayloadGenerator.resolvePropertyToExample(PayloadGenerator.java:137) at com.endava.cats.model.generator.PayloadGenerator.parseFromInnerSchema(PayloadGenerator.java:364) at com.endava.cats.model.generator.PayloadGenerator.processSchemaProperties(PayloadGenerator.java:342) at com.endava.cats.model.generator.PayloadGenerator.resolveModelToExample(PayloadGenerator.java:318)...
`cats` is good when cherry-picking a fuzzer and running it on one endpoint. However, today I'm scanning an API for a customer, ran on all endpoints using: `cats -c open_api.yml...
**What is the issue** For some of the openapi/swagger spec file the current cyclic redundancy check goes in infinite loop [openapi-recursive-component-schemas.json](https://github.com/Endava/cats/files/14601124/openapi-recursive-component-schemas.json) **Step To Reproduce** Steps to reproduce the behaviour: 1....
Sample OpeAPI Definition: > paths: > /test1/{orderId}: > put: > summary: Create a new resource > parameters: > - in: path > name: orderId > required: true > schema: >...
Scenario 1: I have a application in which user has to provide the username and password in payload and in response it will generate the Bearer Token. I want to...
I have a application where some request required ( Oauth and Basic Auth ) and some request required (API key with Basic Auth) and some only required Oauth or API...
Is there a way to customise response codes as success for specific endpoints like it is possible for [fuzzers](https://endava.github.io/cats/docs/advanced-topics/fuzzers-config)? I would like to customise for individual endpoints instead of doing...
Hi, I found the solution, but I didn´t find the typical example to test it. Do you have one example to review it? Many thanks in advance Juan Antonio
**Describe the bug** When the flag --useExamples is explicitly set, cats still uses random data input. This is a problem as when running tests that require correct data in a...