title: How to create text file using Groovy?
body: <p>I am trying to create a new text file using the below lines of Groovy code in Soap UI but I do not see the file is created</p>
  
  <pre><code>import java.io.File 
  def newFile = new File("C:/Users/ramus/Documents/Jars/test.txt")
  </code></pre>
  
  <p>Could you please help me in understanding on what is wrong with the above lines of code?</p>