Contributions
Re: How to write a groovy script for a REST project
def responseAsString = messageExchange.modelItem.testStep.testRequest.response.contentAsString def jsonResponse = new groovy.json.JsonSlurper().parseText(responseAsString) //log.info(jsonResponse.some.json.element) assert "EXPECTED_VALUE_OF_json.element" == jsonResponse.some.json.element5 years agoPlace ReadyAPI QuestionsReadyAPI Questions5KViews0likes0Comments