Forum Discussion
JHunt
6 years agoCommunity Hero
Hi,
I don't know if that's possible with JsonPath Match assertion (I haven't used it much), but here's how you can do it with a Script assertion:
def result = new groovy.json.JsonSlurper().parseText(context.response).'result'
assert result > 0
Related Content
- 4 years ago
- 12 months ago
- 10 years ago
Recent Discussions
- 11 days ago