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.

Assertions Strategy using XSLT and diff tool

reactancexl Posts: 151
edited October 2021 in SOAtest

I am throwing this out here for the community on how they do assertions. I am not talking about validation 5 fields or so. What i do for assertions most of the time is using the diff tool. Lets say I have a service response to validate to a database. Native functionality of DB tool is to return in XML format. If the service response is JSON, I convert to XML(native tool) and use a custom XSLT to map to the same structure as the DB response and then use the diff for validation. I use XSLT extensively to get the messages in same structure state as they can be dynamic. Most of my assertions are message to message. Just curious are people use XSLT extensively as part of their validations. thx