问题
import groovy.json.JsonSlurper
def testStepName = 'Adding_Users'
def jsonSlurper = new JsonSlurper()
def response = context.expand('$(testStepName#Response)')
def usersInfomration = jsonSlurper.parseText(response)
String userName = userInformation.name
log.info UserName
来源:https://stackoverflow.com/questions/58326431/error-seeing-when-parsing-the-json-response-using-groovy