Forum Discussion

kadir's avatar
kadir
Occasional Contributor
7 months ago

readyapi groovy script library

I am using readyapi 3.51.0 and using readyapi groovy script for customization. Where can I get info about the readyapi groovy script libraries, for example;

project.getContext().report.getTestSuiteResultList()

any help with where the documentation is located? Thank you,

 

 

  • The ReadyAPI/SoapUI Classes are actually Java, not Groovy.  Pedantic comment out of the way, try here...

    https://www.soapui.org/apidocs/5.5.0/index.html?com/eviware/soapui/support/components/package-summary.html

  • ChrisAdams's avatar
    ChrisAdams
    Champion Level 3

    In your script, wherever you see project.getContext().report.getTestSuiteResultList()

    try 

    log.info(project.getContext().report);
    
    or
    
    log.info(project.getContext().report.getClass());

    SOmething like that may give you the full class name so you can look in the guide

  • ChrisAdams's avatar
    ChrisAdams
    Champion Level 3

    The ReadyAPI/SoapUI Classes are actually Java, not Groovy.  Pedantic comment out of the way, try here...

    https://www.soapui.org/apidocs/5.5.0/index.html?com/eviware/soapui/support/components/package-summary.html

  • kadir's avatar
    kadir
    Occasional Contributor

    Thank you ChrisAdams, which class should I look for to find info about

    project.getContext().report.getTestSuiteResultList()