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.

How to get text/plain type while reading the message in Parasoft.

Devi
Devi Posts: 2

Hi, I am using parasoft soatest. I'm trying to write a message with MIME type as text/plain with the input contains tag, I want to read the message in text format. But I can able to read message only xml format. Parasoft is formatting what is being read from queue. The attributes given in the input get altered while reading and getting in XML format. How to get the same text type while reading the message? Is there any settings to change for getting text/plain file while reading in Parasoft.

Best Answer

  • benken_parasoft
    benken_parasoft Posts: 1,331 ✭✭✭
    Answer ✓

    Parasoft is formatting what is being read from queue

    By default, SOAtest automatically formats XML and JSON messages shown in the Traffic Viewer, Diff Tool, and Edit tools. You can disable this behavior under "Parasoft > Preferences > Misc > Auto Beautify".

    Tool outputs like "Response Traffic" will always have the original message. For example, if you want to validate the message as Text then you can chain a Diff tool with "Diff mode" set to "Text" instead of "XML".

Answers