cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Highlighted
Occasional 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
Highlighted
Occasional Contributor

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

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

View solution in original post

3 REPLIES 3
Highlighted
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
Occasional 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?

Highlighted
Occasional Contributor

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

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

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors