Forum Discussion
Does the final bit of the following page give you what you need?
https://www.soapui.org/docs/soap-mocking/mockoperations-and-responses/
Ta
Rich
OK - I changed the title off my thread to better mirror my actual issue.
Your response *would* have answered my immediate question (how to put some data into the mock response payload), if that data were pure text.
However, in our case that content needs to be in a special character set (UTF-16LE) and thus the embedding of ${content} into the response converts the data wrongly, as these are then obviously converted into UTF-8 during the send-process. But our client doesn't understand UTF-8, only said UTF16LE.
So, my actual question is: given that I have the binary data (here an example response read from a file, but it could in principle be *any* binary data) in my hands - how do I get these exact bytes into the mock-response's payload unchanged? Is that at all possible with SOAP-UI?
Related Content
- 6 years ago
- 5 years ago
- 3 years ago
- 2 years ago
Recent Discussions
- 15 years ago