Forum Discussion

andi's avatar
andi
Occasional Contributor
6 years ago
Solved

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

 

6 Replies

  • richie's avatar
    richie
    Community Hero
    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
    • andi's avatar
      andi
      Occasional Contributor

       

      Json and raw tab. I don't know the outline tab.

       

       

      • richie's avatar
        richie
        Community Hero
        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