Ask a Question

ERROR: groovy.lang.MissingPropertyException: No such property: soapui for class: Script1

SOLVED
gpascual
New Contributor

ERROR: groovy.lang.MissingPropertyException: No such property: soapui for class: Script1

Hi All,

My project recently migrated from SOAP UI Pro to Ready API.

 

We executed a Groovy script that work in SOAP UI Pro but not in ReadyAPI. Need advice on how to update the line with error. 

ERROR: groovy.lang.MissingPropertyException: No such property: soapui for class: Script1

line:
def sqlhelper = soapui.intergen.SqlHelper

 

Please find the attached screenshot for reference.

2 REPLIES 2
richie
Community Hero

Hey @gpascual 

 

I'm only responding cos no one else has yet, but I'm not best placed to answer this.

 

HOWEVER - considering the issue I'd suggest that you need to find an alternative method to SqlHelper

 

ReadyAPI uses different Java to SoapUI, so I'm guessing that's the problem.

 

My ReadyAPI's JRE is set at v17.0.2 - i'd look to find an equivalent method to SqlHelpder in more recent JRE/JDK versions.

 

I got covid at moment, so I'm too ill to have a look for you - but hopefully this will help

 

Cheers,

 

Rich

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

Hi Rich,

 

I appreaciate the response. We were able to fix the issue. We figured out that the former developers created custom groovy libraries and simply copied the files to the /scripts folder.

Get well soon!

 

Cheers,

Glenn

 

cancel
Showing results for 
Search instead for 
Did you mean: