JSON Schema Compliance Exception for http code 204
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022
07:14 AM
08-04-2022
07:14 AM
JSON Schema Compliance Exception for http code 204
Hello community,
i'm using the JSON Schema Compliance assertion for my Rest services. Which works well, except for http code 204.
The description in JSON is:
"204": { "description": "No Content" },
The error log shows:
Thu Aug 04 16:09:07 CEST 2022: ERROR: Error while performing assertion
Thu Aug 04 16:09:07 CEST 2022: ERROR: java.lang.NullPointerException
java.lang.NullPointerException
The assertion itself says: IllegalArgumentException: argument "content" is null
That is of course true but also expected for 204. Is there a fix or workaround for this issue? I'm using ReadyAPI 3.40.1
Labels:
- Labels:
-
Assertions
-
REST
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022
10:21 AM
08-04-2022
10:21 AM
Hey @manfredt,
Looks like you might need to raise a support ticket to ensure Smartbear know about it. They might know already, but at least raising a ticket ensures they know.
To submit your ticket go here --> https://support.smartbear.com/open-ticket/
Cheers,
Rich
Looks like you might need to raise a support ticket to ensure Smartbear know about it. They might know already, but at least raising a ticket ensures they know.
To submit your ticket go here --> https://support.smartbear.com/open-ticket/
Cheers,
Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
