Contributions
Rest Json Response, Need to get all the attribute key in the same order as in the response
Hi, I am new to this community, I am working on a testing project and I use soap ui free version. I have a Json response with around 64 attributes in a set, I need to get all the keys in the same order as in the response and verify all the sets have the same order. Example: { "responseCode":200, "responseData": "Header": "HeaderDate":["ABC1" "ABC2" "ABC3" "ABC4" to "ABC65"] "DataValue":[ "ABC1":"Value", "ABC2":"Value", "ABC3":"Value", to "ABC65":"Value"] [ "ABC1":"Value", "ABC2":"Value", "ABC3":"Value", to "ABC65":"Value"] this can bring in even 2000 or more sets I have to get all the Keys in the order in the response and validate with the sequence in the HeaderData If I use keySet() I get in the unordered list. Please guide me Thanks in advance1.4KViews0likes5Comments