Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use grape on soapUI?

Tags:

groovy

soapui

I really don't know If I can or not since I've been researching on the internet and I haven't seen anything about this topic.

If I try to use the following on soapui (groovy script)

@Grapes([
  @Grab(group='net.sf.json-lib',
    module='json-lib',
    version='2.3',
    classifier='jdk15'),
  @Grab('xom:xom:1.2.5')
])
import net.sf.json.JSONObject
import net.sf.json.xml.XMLSerializer

I'm getting an error on Soapui that says "java.lang.NoClassDefFoundError: org/apache/ivy/core/settings/lvySettings" , So I really don't know If grape is not possible to be used on soapUI or I'm failing on some step.

Thank you guys.

like image 491
user3280424 Avatar asked Dec 10 '25 05:12

user3280424


1 Answers

Yes but I have to add ant jar and ivy jar to soapui/bin/ext otherwise it's not going to work.

like image 93
user3280424 Avatar answered Dec 12 '25 15:12

user3280424