Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

using plain XML responder without pretty print when sending the response

jimboy
jimboy Posts: 33

I notice this while using the plain XML Response on the response. The XML message is pretty printed ( broken down to element line by line). Is there a way to have them in one line removing spaces or carriage return below sending the message out?

Comments

  • williammccusker
    williammccusker Posts: 673 ✭✭✭

    Hi,

    What mode is the input in? Is this Form Input, Form XML, or Literal? In Literal View there right-click option to "Compact" which will put all the XML on a single line.

  • benken_parasoft
    benken_parasoft Posts: 1,309 ✭✭✭
    edited July 2021

    Form Input and Form XML have a "Beautify" option on the right-click menu. So, make sure it is not selected.

    Please note that some views (Event Details) may show the "beautified" (pretty-printed) version of messages for readability, regardless of how they were actually sent over-the-wire.

  • jimboy
    jimboy Posts: 33

    thanks, it works disabling the beautify option in the form xml.