Forum Discussion

SiKing's avatar
SiKing
Community Expert
7 years ago

automating OAuth2 token retrieval

I read through all the documentation for OAuth2, here. My case uses the "Client Credentials Grant" method. Doing things manually - clicking the Get Access Token button - everything works fine. In...
  • SiKing's avatar
    SiKing
    7 years ago

    That code produces:

     

    groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.teststeps.DebuggableWsdlGroovyScriptTestStep.getAuthProfile() is applicable for argument types: () values: [] error at line: 6

     

    But I managed to get this example code to work.