easyfish
10 years agoContributor
how to get proerties value from layered response in Groovy script
Hello! I am doing data-driven testing and now working on data tranferring from soapui request/response to oracle table. With the following groovy, I can get the value of the response, then I can ...
- 10 years agoDo you want only one? or all?
If only one, then use index like //amountitems/amountitem[1]/Amount.
If you want all, loop thru them.
http://stackoverflow.com/questions/15077592/iterate-through-each-xml-node-with-groovy-printing-each-node