title: Call another test step using groovy script test step in SoapUI
body: <p>I have the <code>Groovy Script</code>  test step named <code>Copying_Bulk_File_To_BulkPayment_Folder</code>.</p>
  
  <pre><code>def rawRequest = context.expand('${SOAP#request}')        
  def file1 = new File('C:/Actimize/4.23.0.30/Instances/actimize_server_1/QA/BulkPayment/NACHA/Input/RegularNachaPPD.ACH')    
  file1.write (rawRequest)
  </code></pre>
  
  <p>After that I have other groovy that should called it 10 times, but it is not doing as expected, below is the respective code.</p>
  
  <pre><code>if( context.loopIndex2 == null )
  context.loopIndex2 = 0
  if( ++context.loopIndex2 &lt; 10 )
  testRunner.gotoStepByName( "Copying_Bulk_File_To_BulkPayment_Folder" )
  </code></pre>