Forum Discussion

CARQUESTTechnol's avatar
CARQUESTTechnol
Contributor
15 years ago

[Resolved] Groovy Object documentation

Is there any resource that lists the methods and properties for objects in groovy scripts?

I'm having difficulty using context.expand and holder. I don't know what object these methods return.

Also what methods and objects are exposed when importing the GroovyUtils object?
  • Hi,

    To determine of which type context variable is you can do something like: log.info context.getClass().getName()
    And when you know the object class you can search for it in API documentation and see what methods it has. Also
    don't forget about super types since their methods are available too.

    API doc are on the following address: http://www.soapui.org/apidocs/

    Predrag
    eviware.com