JSON Response incomplete
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019
02:42 PM
09-25-2019
02:42 PM
JSON Response incomplete
Hello,
i have a rest webservice returning json data. The json reponse contains the key "class". Soap UI does not display the key. I can see the "class" in the raw data.
{
"class" : "ABC",
"id": "123",
....
Displayed as:
{
"id": "123",
....
Thanks
Andi
Solved! Go to Solution.
6 REPLIES 6
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019
03:36 PM
09-25-2019
03:36 PM
Hey @andi,
Can you provide screenshots of your outline, raw and json tabs just to add some clarification please?
Can you confirm the Content-Type header value on your response please? I've seen similar issues when json or xml responses dont maintain their types correctly.....
Ta
Rich
Can you provide screenshots of your outline, raw and json tabs just to add some clarification please?
Can you confirm the Content-Type header value on your response please? I've seen similar issues when json or xml responses dont maintain their types correctly.....
Ta
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019
10:10 PM
09-25-2019
10:10 PM
Json and raw tab. I don't know the outline tab.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019
10:56 AM
09-26-2019
10:56 AM
Hey @andi,
You haven't got an outline tab? What version are you running? Are you running the open source SoapUI? (this post might be in wrong forum)
I've seen similar behaviour when the datatype of the response was a little weird, but your type is json so its not weird.
It looks like a bug to me.....
What happens if you have a content match assertion to verify class="LEAGUE"?
Cheers
Rich
You haven't got an outline tab? What version are you running? Are you running the open source SoapUI? (this post might be in wrong forum)
I've seen similar behaviour when the datatype of the response was a little weird, but your type is json so its not weird.
It looks like a bug to me.....
What happens if you have a content match assertion to verify class="LEAGUE"?
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019
03:21 PM
09-26-2019
03:21 PM
Hello,
i am using Soap UI 5.5.0
>What happens if you have a content match assertion to verify class="LEAGUE"?
I dont' know what to do. But when i add a test case soap ui is freezing.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2019
10:13 AM
09-27-2019
10:13 AM
Hey @andi,
I think you should really be posting in the soapui forum rather than readyapi! one, but trying to respond anyway:
It sounds like youre having 2 different problems. The first issue was that the first name/value pair in your json response wasnt appearing in the json tab but was appearing in your raw.
The second issue you say soapui hangs when trying to add a new testcase. Either issue we would need a lot more info to help out.
Http, soapui, and error logs for both issues
Have you tried creating a test case using other fucntionality to do thr same thing?
Does soapuo hang when yoy try snd create a testcase in a different soapui project?
As i say above...we wouldnt be able to help without you providing a lot more info for the issues.
Cheers
Rich
I think you should really be posting in the soapui forum rather than readyapi! one, but trying to respond anyway:
It sounds like youre having 2 different problems. The first issue was that the first name/value pair in your json response wasnt appearing in the json tab but was appearing in your raw.
The second issue you say soapui hangs when trying to add a new testcase. Either issue we would need a lot more info to help out.
Http, soapui, and error logs for both issues
Have you tried creating a test case using other fucntionality to do thr same thing?
Does soapuo hang when yoy try snd create a testcase in a different soapui project?
As i say above...we wouldnt be able to help without you providing a lot more info for the issues.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2019
11:23 AM
