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 can I validate the field name? in parasoft SOA test

Neil
Neil Posts: 38
edited June 2017 in SOAtest

Hello,

i want to add an assertion to check the field name is returned as per schema.

para soft SOA test 9.9
e.g:
"status" : {
"serverStatusCode" : "401",
"severity" : "ERROR",

if I want to check field name "severity" is returned as expected.

we have standard assertions to validate the field values , But to add check point on the field name itself.

Comments

  • jakubiak
    jakubiak Posts: 813 admin

    Try using the Occurrence Assertion in the JSON Assertor.