Forum Discussion
whoistheknife
2 years agoNew Contributor
My bad. I should write
def json = new groovy.json.JsonSlurper().parseText(context.response)
context.testCase.setPropertyValue('name', json.name.toString())
log.info "Checking weather in " + json.name