Buschfunk
15 years agoFrequent Contributor
Remove empty elements completely
Hello,
I'm not sure if the following is a specified behavior or if it is a bug
Example:
leads to
Cheers,
Robert
I'm not sure if the following is a specified behavior or if it is a bug

- Create a mock service with any response
- In the mock response properties set "Remove Empty Content=true"
- Result: Only empty child elements are removed. The parent element is still present in the response
Example:
<parent>
<child1/>
<child2/>
</parent>
leads to
<parent/>
Cheers,
Robert