Ask a Question

Rest call - if "The content can not be viewed as XML" - display other format

Rest call - if "The content can not be viewed as XML" - display other format

Let's say I make a call to a rest api and the response is json.

 

When the SOAPUI REST call has completed, it will still default to XML as the default response type (assumedly because SoapUI is very XML centric due to it's Soap connection).

 

You should spy the resulting content using response header or content.

 

Or maybe it is not working because my particular content-type is using charset=UTF-8.

 

Content-Typeapplication/json;charset=UTF-8
1 Comment
nmrao
Champion Level 3

I believe this would be a time saver for all people who uses rest test step type, content type as 'application/json'. Right now, user have to navigate to the tab. Considering the volume, this could be useful enhancement.

Announcements
Welcome to the SoapUI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here