We have a somewhat large project with a series of tests against endpoints. Due to the way the configuration for this API works, there's occasionally a chance that a field in any given response could be missing, replaced with the string "[invalid field]"
. Obviously when this happens, something is broken and we need to fix it, so I want to check for this string in all responses.
Is there a way to check all responses for this, or should I just put an assertion into each test manually?
</con:request>
. Right after it there is a <con:assertion>...</con:assertion>
element.</con:request>
with <con:assertion>...</con:assertion>