Forum Discussion

nurgustianto's avatar
nurgustianto
New Contributor
2 years ago

Comparing two different JSON response [ArrayList] Elements

Dear All,

 

Kindly need Your help & advice, I would like to compare / Match Content Assertion, but the problem is as the JSON files has multiples elements array, as described below screenshot : 

right after the offer, there's a lot of OfferID -> this is considered [shop steps]as my source or files that I would like to compare, 

and below screenshot is the target : 

On the above screenshots is the OfferID that I would like to compare, is the OfferID actually the same ID as the previous ID [from shop step]. I doubt that I can use Match Content Assertion since the elements that I will check are too many. How to handle this scenario?

Any help is really appreciated. 

FYI : apmorales 

Cheers,

 

Anto.

2 Replies