Solved
Forum Discussion
nmrao
10 years agoCommunity Hero
Would you please add groovy script and soapui version details?
chanukya1
10 years agoNew Contributor
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>5.0.0</version>
// my groovy script
import groovy.json.JsonSlurper
def responseContent = messageExchange.response.responseContent
def response = new JsonSlurper().parseText(responseContent)
def sorted_locationId_list = response.locationId.sort()
def vUControllerIds = context.expand( '${#TestCase#VUControllerIds#$[0]}' )
do we need to add any dependency for groovy in the maven pom?