Forum Discussion

szymic1's avatar
szymic1
New Contributor
14 years ago

gotoTestStepByName does not work

I'm using soapUI 3.6.2 Pro and I would like to execute this code:
testRunner.gotoTestStepByName("UpdatePartner")

and I got such error:
groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner.gotoTestStepByName() is applicable for argument types: (java.lang.String) values: [UpdatePartner] Possible solutions: gotoStepByName(java.lang.String), runTestStepByName(java.lang.String)

when I execute
testRunner.runTestStepByName("UpdatePartner")

it works Is it soapUI bug?
  • matthieu's avatar
    matthieu
    Occasional Contributor
    Ok I found the error... the documentation is wrong.

    The method is testRunner.gotoStepByName and NOT testRunner.gotoTestStepByName, which is inconsistent with testRunner.runTestStepByName.