Forum Discussion

John_smith's avatar
Occasional Contributor
7 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() list_2
  • PaulMS's avatar
    7 years ago

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