Grab does not download dependency in soap ui

95 Views Asked by At

I am trying to download a dependency via @Grab in SOAP UI, running the below script

@Grab('com.xlson.groovycsv:groovycsv:1.3')
import static com.xlson.groovycsv.CsvParser.parseCsv
    
def csv = '''Name,Lastname
Mark,Andersson
Pete,Hansen'''
    
def data = parseCsv(csv)
for(line in data) {
    println "$line.Name $line.Lastname"
}

I am getting this error

enter image description here

Here are the JAR's I am using in SOAP UI ext folder

enter image description here

What is the problem and how do you fix this so that Grab downloads the dependencies.

Groovy Version: 4.0.6
0

There are 0 best solutions below