Schemathesis v4.29.4 ━━━━━━━━━━━━━━━━━━━━ ✅ Loaded specification from http://0.0.0.0:33325/api/swagger.json (in 0.10s) Base URL: http://0.0.0.0:33325/api Specification: Open API 2.0 Operations: 6 selected / 6 total Configuration: /home/stranger6667/data/programming/workbench/schema thesis.toml ✅ API capabilities: Supports NULL byte in headers: ✓ Accepts backslash and control characters in URL paths: ✓ ⏭ Examples (in 0.01s) ⏭ 6 skipped ❌ Coverage (in 4.31s) ✅ 1 passed ❌ 5 failed ❌ Fuzzing (in 89.82s) ✅ 1 passed ❌ 5 failed ❌ Stateful (in 205.87s) Scenarios: 833 API Links: 3 covered / 6 selected / 6 total ✅ 798 passed ❌ 35 failed =================================== FAILURES =================================== _________________________ DELETE /blog/posts/{postId} __________________________ 1. Test Case ID: vnY4q8 - Undocumented Content-Type Received: text/html Documented: application/json [404] Not Found: ` 404 Not Found

Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

` Reproduce with: curl -X DELETE http://0.0.0.0:33325/api/blog/posts/null%2Cnull 2. Test Case ID: MrX0zL - Undocumented HTTP status code Received: 200 Documented: 201, 404, 204 [200] OK: `null` Reproduce with: curl -X DELETE http://0.0.0.0:33325/api/blog/posts/2 _______________________________ GET /blog/posts ________________________________ 1. Test Case ID: W19Lw5 - Undocumented HTTP status code Received: 400 Documented: 200 [400] Bad Request: `{ "errors": { "per_page": "Results per page {error_msg} The value '-58800' is not a valid choice for 'per_page'." }, "message": "Input payload validation failed" }` Reproduce with: curl -X GET 'http://0.0.0.0:33325/api/blog/posts?per_page=-58800' 2. Test Case ID: 4qRRit - Undocumented HTTP status code Received: 404 Documented: 200 [404] Not Found: `{ "message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again." }` Reproduce with: curl -X GET 'http://0.0.0.0:33325/api/blog/posts?page=0' ___________________________ GET /blog/posts/{postId} ___________________________ 1. Test Case ID: a28GWo - Undocumented Content-Type Received: text/html Documented: application/json [404] Not Found: ` 404 Not Found

Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

` Reproduce with: curl -X GET http://0.0.0.0:33325/api/blog/posts/null%2Cnull ______________________________ PATCH /blog/posts _______________________________ 1. Test Case ID: dxgf2N - Unsupported methods Unsupported method PATCH returned 400, expected 405 Method Not Allowed Return 405 for methods not listed in the OpenAPI spec [400] Bad Request: ` Error response

Error response

Error code: 400

Message: Bad request syntax ('{"id": 0, "body": ""}PATCH /api/blog/posts HTTP/1.1').

Error code explanation: HTTPStatus.BAD_REQUEST - Bad request syntax or unsupported me // Output truncated...` Reproduce with: curl -X PATCH -H 'Content-Type: application/json' -d '{"id": 0, "body": ""}' http://0.0.0.0:33325/api/blog/posts __________________________ PATCH /blog/posts/{postId} __________________________ 1. Test Case ID: TxkSi3 - Unsupported methods Unsupported method PATCH returned 400, expected 405 Method Not Allowed Return 405 for methods not listed in the OpenAPI spec [400] Bad Request: ` Error response

Error response

Error code: 400

Message: Bad request syntax ('{"id": 5868, "checksum": "", "body": ""}PATCH /api/blog/posts/5868 HTTP/1.1').

Error code explanation: HTTPStatus.BAD_REQUEST - Bad request // Output truncated...` Reproduce with: curl -X PATCH -H 'Content-Type: application/json' -d '{"id": 5868, "checksum": "", "body": ""}' http://0.0.0.0:33325/api/blog/posts/5868 _______________________________ POST /blog/posts _______________________________ 1. Test Case ID: yxaj4V - Undocumented HTTP status code Received: 400 Documented: 200 [400] Bad Request: `{ "errors": { "": "None is not of type 'object'" }, "message": "Input payload validation failed" }` Reproduce with: curl -X POST http://0.0.0.0:33325/api/blog/posts 2. Test Case ID: kEmXSA - Undocumented HTTP status code Received: 201 Documented: 200 [201] Created: `{ "id": 5868, "body": "" }` Reproduce with: curl -X POST -H 'Content-Type: application/json' -d '{"body": ""}' http://0.0.0.0:33325/api/blog/posts ___________________________ PUT /blog/posts/{postId} ___________________________ 1. Test Case ID: t9e2On - Undocumented HTTP status code Received: 400 Documented: 201, 404, 204 [400] Bad Request: `{ "errors": { "": "None is not of type 'object'" }, "message": "Input payload validation failed" }` Reproduce with: curl -X PUT http://0.0.0.0:33325/api/blog/posts/5868 2. Test Case ID: iBDkA7 - Undocumented Content-Type Received: text/html;charset=utf-8 Documented: application/json [400] Bad Request: ` Error response

Error response

Error code: 400

Message: Bad request syntax ('{"id": 5868, "checksum": "", "body": ""}PUT /api/blog/posts/null%2Cnull HTTP/1.1').

Error code explanation: HTTPStatus.BAD_REQUEST - Bad req // Output truncated...` Reproduce with: curl -X PUT -H 'Content-Type: application/json' -d '{"id": 5868, "checksum": "", "body": ""}' http://0.0.0.0:33325/api/blog/posts/null%2Cnull 3. Test Case ID: UtRU0o - Undocumented Content-Type Received: text/html Documented: application/json [404] Not Found: ` 404 Not Found

Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

` Reproduce with: curl -X PUT -H 'Content-Type: application/json' -d '{"id": 5868, "checksum": "", "body": ""}' http://0.0.0.0:33325/api/blog/posts/AAA 4. Test Case ID: pxWcQB - Server error - Undocumented HTTP status code Received: 500 Documented: 201, 404, 204 [500] Internal Server Error: `{ "message": "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application." }` Reproduce with: curl -X PUT -H 'Content-Type: application/json' -d '{"body": ""}' http://0.0.0.0:33325/api/blog/posts/5868 5. Test Case ID: NTkdE4 - Undocumented HTTP status code Received: 200 Documented: 201, 404, 204 [200] OK: `null` Reproduce with: curl -X PUT -H 'Content-Type: application/json' -d '{"id": 5868, "body": ""}' http://0.0.0.0:33325/api/blog/posts/5868 6. Test Case ID: mKMYo6 - API rejected schema-compliant request Valid data should have been accepted Expected: 2xx, 401, 403, 404, 409, 429, 5xx Hint: The request body contains 1 additional property not defined in the schema (`󒡦`). The server likely rejects unexpected fields. Add `additionalProperties: false` to your schema to prevent this. [400] Bad Request: ` Error response

Error response

Error code: 400

Message: Bad request syntax ('{"\\udb0a\\udc66": [["\\u0086\\u000b\\u007f\\u00e35\\ud8ac\\ude20\\u000f", [""], []]], "": {}, "\\ud87f\\udc52\\u00ac\\u00c4\\ud9cb\\udfac\\u0089/": [true] // Output truncated...` Reproduce with: curl -X PUT -H 'Content-Type: application/json' -d '{"\udb0a\udc66": [[[]], [""], []], "body": "$E\u0019\ud974\uddb4\udabe\udd02\u00b0", "checksum": "b'"'"'1d979'"'"'", "id": 5868}' http://0.0.0.0:33325/api/blog/posts/-4817 7. Test Case ID: NItECd - API rejected schema-compliant request Valid data should have been accepted Expected: 2xx, 401, 403, 404, 409, 429, 5xx Hint: The request body contains 5 additional properties not defined in the schema (`‰… *`, `¤𩆫`, `õé^&񄀡ðܲ` and 2 more). The server likely rejects unexpected fields. Add `additionalProperties: false` to your schema to prevent this. - Undocumented HTTP status code Received: 405 Documented: 201, 404, 204 [405] Method Not Allowed: `{ "message": "The method is not allowed for the requested URL." }` Reproduce with: curl -X PUT -H 'Content-Type: application/json' -d '{"\u0e01\u0e32": {"": -2.00001, "1n\u00a1\u0095?\u00c5\u00cf\u00c8h`\u0097\u00adGJ": -2.9615352985610404e-23}, "\udac2\udd61\u00ea": {}, "\u00f5\b\u00e9^&\ud8d0\udc21\u00f0\u00dc\u00b2": {}, "\u0089\u0085*": {"\ud852\ude51\u00bb\u009f": {"": -526}, "": [624050]}, "\u00a4\ud864\uddab": -114957653, "checksum": "\u00bd", "id": 5938, "body": "r\u00bc\u00f0\udb89\udc54&"}' http://0.0.0.0:33325/api/blog/posts/5893 ________________________________ Stateful tests ________________________________ 1. Test Case ID: CRziQy - Server error - Undocumented Content-Type Received: text/html; charset=utf-8 Documented: application/json - Undocumented HTTP status code Received: 500 Documented: 200 [500] Internal Server Error: ` OverflowError: Python int too large to convert to SQLite INTEGER // Werkzeug Debugger