Forum Discussion
- PaulMSSuper Contributor
You can change the response message view to XML or JSON.
https://www.soapui.org/rest-testing/working-with-rest-requests.html
Response Message Views
The response editor contains several views for visualizing different types of responses;
•XML: shows the current response in XML format. SoapUI will attempt to convert HTML responses to XML so they can be used in property transfers and scripts just like any other response messages in your functional tests.
•JSON: shows a nicely-formatted rendering of the returned JSON response (if applicable):- cperrotNew Contributor
this is not what I need. I need to be able to manipulate the response content type. In older editor you could define what kind of response type you wanted to have.
Issueing an REST request with json payload hence content type application/json and receive ACCEPT content-type application/xml
Cedric
Related Content
Recent Discussions
- 7 days ago