Save the response and validate the response automatically
Hi Team,
I have created a utility which will validate the saved response with new response for an api request
how to achieve that
1) I will save the sample response which will be compared with response received at run time
2) The utility will generate all the json path for the new response generated and old saved response and store as list
3)it will iterate over any one list extract the content of each node by doing getstring(jsonpath) function and compare with node value received for saved response using same getstring(jsonpath)
4)it will validate the size if response with respect to saved response by asserting size of both the list
5)if user wants to ignore specfic jsonpath they can pass keyword as exclude it will that jsonpath and will not compare that path value
if integrated with soapui/ready api feature it will save significant time in asserting response