Forum Discussion

HaroldR's avatar
HaroldR
Contributor
7 years ago

Iterate throw global properties entries from Groovy script

Hello all, I have filled some global properties with associated values inside global Propeties section in preferences panel of Ready Api! (Cf attachment) Now, I would like to know how could I def...
  • nmrao's avatar
    7 years ago

    HaroldR,

    Here you go:

     

    def gp = com.eviware.soapui.SoapUI.globalProperties
    gp.keySet().each { key -> log.info "Property details : $key and ${gp[key].value}" }