Forum Discussion

chathurad's avatar
chathurad
Contributor
7 years ago

Validate availability of atleaset one item

After doing some basic scripting like this  def response = context.expand( '${Request 1#Response}' ).toString() def slurper = new JsonSlurper() def json = slurper.parseText response def courseType...
  • JHunt's avatar
    7 years ago
    courseType.each { assert it.contains("General English") }