I have request something similar to the below each using first 3 characters of a name, Ex: WAL
.
It results in 3 responses:
<Name>
<firstname>WALLER</firstname>
<firstname>WALTER</firstname>
<firstname>WALMER</firstname>
I have to include response assertion to validate the above 3 names:
Note: this is dynamic. For the above results, it is 3 For some it might fetch 1, 2, 4 etc. Could anyone please tell me how to validate this?