cancel
Showing results for 
Search instead for 
Did you mean: 

Response can't be shown as JSON, although it should be

SOLVED
New Contributor

Response can't be shown as JSON, although it should be

I'm pretty new to REST-testing, and I'm not very "technically".

SoapUI 5.5.0:

REST-response gives "The content you are trying to view cannot be viewed as JSON".

RAW gives the header and a long string, copying this string and viewing it in JSON Viewer in Notepad++ shows that it is JSON-format though. SoapUI decides that it is content-Type: application/octet-stream. 

 

Developer says that there must be something wrong with the JSON Viewer in SoapUI? 

What could be wrong?

 

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: Response can't be shown as JSON, although it should be

I'm sorry, developer was wrong... It's solved.

3 REPLIES 3
Community Hero

Re: Response can't be shown as JSON, although it should be

How do you, "SoapUI decides that it is content-Type: application/octet-stream"?


Regards,
Rao.
Highlighted
New Contributor

Re: Response can't be shown as JSON, although it should be

What is your question? 

I don't know how this works, if I copy/paste the RAW response in Notepad++ and use JSON viewer, it shows it as JSON. So why isn't SoapUI?

New Contributor

Re: Response can't be shown as JSON, although it should be

I'm sorry, developer was wrong... It's solved.

New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2
Top Kudoed Authors
Top Kudoed Posts