Forum Discussion

galford's avatar
galford
Occasional Contributor
14 years ago

Println in groovy scrtipt in SoapUi

Hello All
I have noticed that this command does not display nothing in SoapUi:

println "test phrase".

When i use "log.info" - for example log.info ("this is displayed with log info ") - i see the output.

So the question is - how to handle this situation? Is the log.info is the only way to see the current value of given variable?
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    you can use for example

    System.out.println( "test phrase" )

    or

    System.out << "test phrase"

    to write to stdout

    regards!

    /Ole
    eviware.com