SOAPUI cannot import updated java file in Groovy script -
i have testcase in soapui, , in 1 of groovy scripts imports java file , uses 1 of methods in it. (this .java file, not .jar file)
my groovy script
import com.aaa.bbb.ccc.myjavafile myjavafile.method('anystring')
i updated javafile method take in 2 inputs method(string,int)
but when reran testcase, error:
groovy.lang.missingmethodexception: no signature of method: static com.aaa.bbb.ccc.myjavafile.method() apoplicable argument types: (java.lang.string,java.lang.integer).
it looks changes made in java file not beingness imported in script. ideas?
when start soapui, in log tab need see message "info:adding [c:\program files\smartbear\soapui-...\bin\ext\myjavafile.jar] extensions classpath" or soapui did not see it!
make sure had placed .jar in $soapui_home/bin/ext
directory.
java groovy soapui
No comments:
Post a Comment