Test Id
Test 6431
Test Trace Id
034dc722-a9eb-4f1e-ba1b-d71346c2b0e3
Timestamp
Tue, 23 Jun 2026 21:40:17 GMT
Scenario
Send a happy flow request with a [unsupported] Content-Type header, value [application/javascript]
Expected Result
Should return 415
Result
Result Details
Unexpected behaviour: expected [406, 415], actual [500]
Contract Path
Fuzzer
UnsupportedContentTypesHeaders
Full Request Path
Http Method
{
"password": "AegisSOC!2026",
"username": "george.lupu"
}
[
{
"key": "Content-Type",
"value": "application/javascript"
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "User-Agent",
"value": "cats/13.8.1-SNAPSHOT (Test 6431 - UnsupportedContentTypesHeaders)"
},
{
"key": "X-Cats-Trace-Id",
"value": "034dc722-a9eb-4f1e-ba1b-d71346c2b0e3"
}
]
curl -X POST \
-H "Content-Type: application/javascript" \
-H "Accept: application/json" \
-H "User-Agent: cats/13.8.1-SNAPSHOT (Test 6431 - UnsupportedContentTypesHeaders)" \
-H "X-Cats-Trace-Id: 034dc722-a9eb-4f1e-ba1b-d71346c2b0e3" \
\
-d '{"password":"AegisSOC!2026","username":"george.lupu"}' \
https://qa-api.puk3p.online/api/auth/login
{
"responseCode": 500,
"httpMethod": "POST",
"responseTimeInMs": "126",
"numberOfWordsInResponse": "7",
"numberOfLinesInResponse": "1",
"contentLengthInBytes": "221",
"jsonBody": {
"timestamp": "2026-06-23T21:40:17.453483774Z",
"status": 500,
"error": "Internal Server Error",
"message": "Content-Type 'application/javascript;charset=UTF-8' is not supported",
"path": "/api/auth/login",
"validationErrors": null
},
"headers": [
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "content-type",
"value": "application/json"
},
{
"key": "date",
"value": "Tue, 23 Jun 2026 21:40:17 GMT"
},
{
"key": "expires",
"value": "0"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "server",
"value": "nginx/1.24.0 (Ubuntu)"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "vary",
"value": "Origin"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "x-xss-protection",
"value": "0"
}
],
"responseContentType": "application/json"
}
cats replay Test6431