Forum Discussion
nmrao
7 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
- 6 years agorrbs
- 10 months agoIrinaManea
Recent Discussions
- 20 hours agoKLWallace
- 7 days agoruchisingh