2

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
Andrej Istomin
  • 2,527
  • 2
  • 15
  • 22
oldcode
  • 1,669
  • 3
  • 22
  • 41

0 Answers0