Forum Discussion

John_smith's avatar
John_smith
Occasional Contributor
8 years ago

how does LIST work in SOAPUI Groovy?

After clearing, when adding values to list this is not initializing/emptying the list, however, taking the previous list data.   Script:  def list_2 = [] list_2.clear() log.info list_2 log.info...
  • PaulMS's avatar
    8 years ago

    It looks like a timing issue with the list variable in memory and the log file, but converting to a string works

    log.info list_2.toString()