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 against a Datasource
reactancexl
Posts: 177 ✭
in SOAtest
Lets say I have a Writable DS that has a few entries. I run a REST Call and get a value back and need to verify that value is contained within that DS. Is writing a script to do this the only way or is there a "out of box" assertions that can be used?
Tagged:
0
Comments
-
Is it expected to match an exact value? You could parameterize your assertion to use a data source column that has the expected value.
0 -
I wouldn't use a writable data source. Instead, I would take the message that the values originally came from then use an Assertor tool to check if a particular value is included within it. See my earlier post:
which assertion can be used to check value of element is present from the list.0