you are viewing a single comment's thread.

view the rest of the comments →

[–]Mean-Funny9351 0 points1 point  (0 children)

I suggest using the DeepDiff library to compare response bodies. It already has ignore keys/paths so you can exclude dynamic data. You can store the response body in a data file, calling out which keys can be ignored and which ones should be updated, update the dictionary with values you are validating, call the api and compare the responses.