Forum Discussion
nmrao
8 years agoChampion Level 3
Try below Script Assertion.
//Below Script Assertion should do the job def json = new groovy.json.JsonSlurper().parseText(context.response) def actualStatus = json.wf_job_group.status assert actualStatus instanceof String, 'status is not string type' assert 'COMPLETED' == actualStatus, 'actual status does not match with expected'
Related Content
- 7 years ago
Recent Discussions
- 15 years ago