Solved
Forum Discussion
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?
nmrao
10 years agoCommunity Hero
It is showing that 34 line of your script has caused this, would you mind showing that?
What is it doing context.expand( '${#TestCase#VUControllerIds#$[0]}' ) -- looks new syntax?
What is it doing context.expand( '${#TestCase#VUControllerIds#$[0]}' ) -- looks new syntax?