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.19k
stars
73
forks
source link
UnsupportedContentTypesHeadersFuzzer missing "boundary" when sending "multipart" as content type #4
When sending "multipart" as the content type, an additional "boundary" value is required. This affects the scenarios where UnsupportedContentTypesHeadersFuzzer is used for checking if "multipart" is not accepted, as expected and a 415 response code is returned. The server instead returns Http Code 500 and the test is marked as an error.
When sending "multipart" as the content type, an additional "boundary" value is required. This affects the scenarios where UnsupportedContentTypesHeadersFuzzer is used for checking if "multipart" is not accepted, as expected and a 415 response code is returned. The server instead returns Http Code 500 and the test is marked as an error.
actual:
{ "name": "Content-Type", "value": "multipart/form-data" }
expected:
{ "name": "Content-Type", "value": "multipart/form-data; boundary=<value>" }