Comments (5)
I'm not sure I understand the question. Can you please provide additional context with a more detailed example.
from cats.
Sure @en-milie, here is the curl command sample for the above request.
curl --location --request POST 'http://localhost:8080/users' \
--header 'Content-Type: application/json' \
--data-raw '"dGVzdERhdGE="'
This is a valid body. As a content-type as json, the body is expected to have a JSON object, array or literal.
from cats.
Hi @beam-me-up. I want to resume this issue. And want to check if my understanding is correct. You would like to be able to check if a certain request body is missing fields that you would typically expect? And deduct this from the endpoint name and http method? Or specify the expected fields in the functional fuzzer file?
It will help if you can provide a full example, like:
- a full OpenAPI sample spec
- what additional data you would expect to feed CATS with, either via the functional fuzzer file or arguments
- what would you expect the output of CATS to be
Thanks!
from cats.
Related Issues (20)
- Feature Request: Add support for test report generation in the replay command HOT 1
- Ignoring a field inside a functional fuzzer HOT 3
- Unsupported Operation Exception when supplying headers via -H flag HOT 3
- String values are sent as integer values HOT 3
- CATS 9.0.1 convert all components of the contract to String HOT 5
- Publishing of Maven release, enabling programmatic usage in Java HOT 7
- NullPointerException: MediaType.getSchema() HOT 5
- NumberFormatException: input string HOT 3
- [Functional Fuzzer] Requesting Ability to Set Parameter Values as NULL for POST Requests in CATs HOT 5
- [Functional Fuzzer] Date String Parsing Bug HOT 4
- SecurityFuzzer stringFile enhancement HOT 2
- FunctionalFuzzer issue with array parameters HOT 7
- Requests pass, but values are not substituted HOT 4
- Error when liniting file `com.jayway.jsonpath.PathNotFoundException` HOT 4
- Strange results number (always 0 successful, additional 2 errors) HOT 2
- Configurable Error Code Expectations HOT 4
- FeatureRequest/Integration With REST-Assured HOT 2
- Troubleshooting Discrepancy in HTTP Status Code Responses: CATS Tool GET Method Issue HOT 2
- CATS runner crashing with java.lang.NullPointerException HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cats.