Forum Discussion

mohneyman's avatar
mohneyman
New Contributor
13 years ago

Can I force SoapUI to keep open/close tags for empty element

Hi all,

I'm having a problem with the way SoapUI Pro is displaying my response. In the HTTP log I can see the response for a given element is coming back as:

<Tag></Tag>

However, in the Reponse XML tab the element displays as:

<Tag/>

I need to use the response to construct other payloads and want to keep the <Tag></Tag> format that's returned in my response so I don't have to do that manually. Is there a property or a way to force SoapUI to keep the Open and Close tags instead of converting it to an empty-element tag in the XML response tab?

Thanks,

-Chris

1 Reply

  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Try setting the request step's "Pretty Print" property to false.