Solved
Forum Discussion
richie
Community Hero
Hahaha!
What a dunce.....what can i say? I'm definitely making progress with my groovy, but it's very slow going!
But actually it's a lot more elegant than using the otb functionality....totally changed my opinion....im trying to do everything with groovy now! ;)
Nice one!
richie
What a dunce.....what can i say? I'm definitely making progress with my groovy, but it's very slow going!
But actually it's a lot more elegant than using the otb functionality....totally changed my opinion....im trying to do everything with groovy now! ;)
Nice one!
richie
nmrao
6 years agoChampion Level 3
richie ,
Does the below helps?
//Define the ordered list which is in the same order of the values as expected def expectedList = [] def response = context.expand( '${REST Request#Response}' ) def json = new groovy.json.JsonSlurper().parseText(response) assert expectedList == json.data.Name
- richie6 years agoCommunity Hero
hahahaha!
Perfect!
thanks man!
richie
Related Content
- 5 years agoVitamin
Recent Discussions
- 19 hours agodipsthorat
- 23 hours agoisbiat
- 2 days agoarmygrad