Forum Discussion
tania90
8 years agoOccasional Contributor
Not able to parse XML rest response using XmlSlurper and add elements to a list.
- nmrao8 years agoChampion Level 3I see the xml response that you had attached and that is partial response. You did not mention what is exact problem. Would you please show the same?
- tania908 years agoOccasional Contributor
The problem is I am not able to extract and put rest response elements ( First-name, Surname, Title ) in a list for comparison with jdbc response.
On executing the groovy script assertion, I am being returned blank list for rest response when XmlSlurper. With XMLparser also able to extract specific elements not all the elements in the list.
Please suggest changes in my code
Related Content
- 9 years agoilovechiku
Recent Discussions
- 5 hours agoGuhan-B
- 4 days agoruchisingh