Bharadwaj
7 years agoContributor
Parsing a simple SOAPUI JSON Response in Groovy
Hi Guys, I am new to Soap UI and Groovy. I am looking to develop a generic function in Groovy which takes a SOAPUI rest response which is a JSON ,access all the objects in it and print it on to the ...
- 7 years ago
The structure of your json data with nesting is different to the flat example in slack overflow.
If you don't expect that structure to change then try
map.each {it.each { key, value -> log.info "$key : $value" } }
- 7 years ago
Thanks PaulMS