Forum Discussion

manisha1's avatar
manisha1
New Contributor
4 years ago
Solved

How to get all parameter Values from RestAPI response in an arrayList using Java/Groovy

My response api like this in ReadyAPI tool-  { "response" : [ { "imageid" : "asdfg1234", "softwareId" : 282046477, "accessLevel" : "register", }, {"imageid" : "asdfg1235", "softwareId" : 282...
  • HimanshuTayal's avatar
    HimanshuTayal
    4 years ago

    manisha1 :

     

    So, i don't think that will be any change as mongo will return JSON and in Rest response you will be getting json.

     

    So use JsonSlurper and match node by node.