Forum Discussion

ehrdoctors's avatar
16 years ago

Nothing but No signature of method

I have a number of test cases that all fail with about the same reason:
Exception during TestCase Execution
groovy.lang.MissingMethodException: No signature of method

I remember having this same problem last year, but I dont remember what I did to fix it. Thanks in advance for the help.

The test all come from this project:
http://developer.connectopensource.org/ ... tion+Tests

I am using Sun Java JDK 6 Update 22 on Windows

My startup script looks like this:

@echo off

set SOAPUI_HOME=%~dp0

rem init classpath

set CLASSPATH=%SOAPUI_HOME%soapui-2.5.1.jar;%SOAPUI_HOME%..\lib\*;

rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms384m -Xmx512m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home="%SOAPUI_HOME%\"

if "%SOAPUI_HOME%\" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"

:START

rem ********* run soapui ***********

java %JAVA_OPTS% com.eviware.soapui.SoapUI %*

I DO NOT GET ANY ERRORS on startup.


The log file looks like this:

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
14:00:45,678 ERROR [WsdlTestCaseRunner] Exception during TestCase Execution
groovy.lang.MissingMethodException: No signature of method: Script1$_run_closure
5.doCall() is applicable for argument types: (com.eviware.soapui.impl.wsdl.testc
ase.WsdlTestCaseRunner, com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext
) values: {com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner@376243b5, ["
com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.SchemaComplianceAssertio
n@SchemaComplianceHasClearedCacheFlag":"yep!", "loopButton":javax.swing.JToggleB
utton[,45,3,22x21,alignmentX=0.0,alignmentY=0.5,border=javax.swing.border.Compou
ndBorder@5cd99967,flags=16777504,maximumSize=,minimumSize=,preferredSize=java.aw
t.Dimension[width=22,height=18],defaultIcon=jar:file:/C:/Program%20Files%20(x86)
/eviware/soapUI-2.5.1/bin/soapui-2.5.1.jar!/com/eviware/soapui/resources/images/
loop.gif,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIRes
ource[top=0,left=4,bottom=0,right=4],paintBorder=true,paintFocus=true,pressedIco
n=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]
, "RunCount":0, "ThreadIndex":0]}
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:241)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at groovy.lang.Closure.call(Closure.java:292)
at org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.ja
va:43)
at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandle
r.java:72)
at $Proxy0.beforeStep(Unknown Source)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(
WsdlTestCaseRunner.java:268)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTest
CaseRunner.java:182)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

2 Replies

  • kamahade's avatar
    kamahade
    Regular Contributor
    Have a read for closures in Java6 and as well check if you could upgrade to recent soapui version. I think you are using pretty old version.
    There could be some deprecated methods in recent Java version as well.
  • anu_elias's avatar
    anu_elias
    Occasional Contributor
    Hi,

    Even I am getting the same error. I am using SoapuiPro 3.6.1 with loadui 1.0.1. I get this error on testcase which is working fine in soapui.

    My testcase consists of a datasource step (excel), a groovy script step, a soap request step and a data transfer step to transfer the response data to loadui. This test case works fine in soapui. But when i do a load test using loadui agent, i get the following error.

    I am not sure if this is the right platform to post this issue. Please move it to the relevant forum if this does not fit here.

    Thanks in advance,
    Anu

    15:55:34,092 ERROR [GroovyContextProxy] Missing method output in delegates [com.eviware.loadui.groovy.categories.GroovyOutput@17e42da, com.eviware.loadui.impl.model.ComponentItemImpl$Context@15bd8f, com.eviware.loadui.groovy.GroovyContextSupport@57306c]
    15:55:34,092 ERROR [GroovyContextProxy] Missing method output in delegates [com.eviware.loadui.groovy.categories.GroovyOutput@17e42da, com.eviware.loadui.impl.model.ComponentItemImpl$Context@15bd8f, com.eviware.loadui.groovy.GroovyContextSupport@57306c]
    15:55:34,092 ERROR [GroovyContextProxy] Missing method output in delegates [com.eviware.loadui.groovy.categories.GroovyOutput@17e42da, com.eviware.loadui.impl.model.ComponentItemImpl$Context@15bd8f, com.eviware.loadui.groovy.GroovyContextSupport@57306c]
    15:55:34,092 ERROR [GroovyContextProxy] Missing method output in delegates [com.eviware.loadui.groovy.categories.GroovyOutput@17e42da, com.eviware.loadui.impl.model.ComponentItemImpl$Context@15bd8f, com.eviware.loadui.groovy.GroovyContextSupport@57306c]
    15:55:34,092 ERROR [GroovyContextProxy] Missing method output in delegates [com.eviware.loadui.groovy.categories.GroovyOutput@17e42da, com.eviware.loadui.impl.model.ComponentItemImpl$Context@15bd8f, com.eviware.loadui.groovy.GroovyContextSupport@57306c]
    15:55:34,092 ERROR [GroovyContextProxy] Missing method onTerminalMessage in delegates [com.eviware.loadui.groovy.categories.GroovyOutput@17e42da, com.eviware.loadui.impl.model.ComponentItemImpl$Context@15bd8f, com.eviware.loadui.groovy.GroovyContextSupport@57306c]
    org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: com.eviware.loadui.groovy.GroovyContextSupport.onTerminalMessage()is applicable for argument types: (com.eviware.loadui.impl.terminal.OutputTerminalImpl, com.eviware.loadui.impl.terminal.InputTerminalImpl, com.eviware.loadui.impl.terminal.TerminalMessageImpl) values: [OutputTerminalImpl[label=resultTerminal], InputTerminalImpl[label=inputTerminal], [ErrorCode: , TimeTaken:88, ErrorDescription: , Timestamp:1291798400427, TriggerTimestamp:1291798399506, ID:AcctDtlsLoan, Status:true]]