Forum Discussion
JHunt
7 years agoCommunity Hero
def theAccount = new groovy.json.JsonSlurper()
.parseText(context.response)
.find { it.accountNumber == context.'${#TestCase#Account}' }
assert theAccount.accountBalance == context.'${#TestCase#Prop1}'.toBigDecimal() +
context.'${#TestCase#Prop2}'.toBigDecimal()