Forum Discussion
sumeetb
Occasional Contributor
I can but i am not able to set the property variable named as "id" with multiple rows. Please see below script.
import net.sf.*
import net.sf.json.*
import net.sf.json.groovy.*
def response = context.expand('${Get Summary#Response}' )
def jsonSlurper = new JsonSlurper().parseText(response)
for(String id:jsonSlurper.summary.test.id){
result["id"]=id
}
The result i get is property variable "id" is getting set with last value only (with this only 6780837264054677)
nmrao
8 years agoChampion Level 3
Can you show test case structure?
Related Content
Recent Discussions
- 4 days agominhng