Solved
Forum Discussion
richie
7 years agoCommunity 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
Champion Level 1
7 years agorichie ,
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
- richie7 years agoCommunity Hero
hahahaha!
Perfect!
thanks man!
richie