testhrishi
8 years agoFrequent Contributor
Question regarding using of wildcard in JDBC assertion
If I have assertion for content set for following under JDBC assertions -
[{"f":"PHONE_1","s":"4","t":1479416050468}]
Even if I get back the response below my assertion passes -
[{"f":"PHONE_1","s":"1","t":1479416050468},{"f":"PHONE_1","s":"2","t":1479416050468},{"f":"PHONE_1","s":"4","t":1479416050468}]
So even if I am getting back 3 extra sets, assertion passes as it contains 1 set from the 3 in the response.
is there a work around I can use for this step to make it fail when extra contents returned in the response?