Contributions
Re: Comparing two different JSON response [ArrayList] Elements
Hinmrao, Really appreciate Your help, I have already taken a look on the web that You shared, unfortunately, I'm not sure how to do that in ReadyAPI, since I'm new to ReadyAPI and GroovyScript.2 years agoPlace ReadyAPI QuestionsReadyAPI Questions528Views0likes0CommentsComparing 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 years agoPlace ReadyAPI QuestionsReadyAPI Questions596Views0likes2CommentsAssertion for Encrypted
Hi All, Kindly need Your help, How to implement the assertion of Encrypted, Please see the following screenshot below : above images are the JSON response on CardNumber field (on the yellow highlighted), how to implement the assertion on ReadyAPI on this assertion, and what type of assertion should I apply? The criteria of assertion are, that it should pass if the character/response of CardNumber is encrypted, and it failsif the CardNumber is not encrypted. Really appreciate Your help. Thank you in advance. Cordially, AntoSolved584Views0likes1Comment