title: Using script to run other test cases
body: <p>I'm load testing with SoapUI and within Test Case A i have a (groovy) script that is calling to run Test Case B using:</p>
  
  <pre><code>import com.eviware.soapui.model.testsuite.TestRunner.Status
  def tc = def tc = testRunner.testCase.testSuite.testCases["Test Case B"]
  def runner = tc.run( new com.eviware.soapui.support.types.StringToObjectMap (), false )
  log.info "Status: $runner.status, time: $runner.timeTaken ms.
  assert runner.status != Status.FAILED : runner.reason
  </code></pre>
  
  <p>The two last rows are little overkill here, but since its the assert that fails when i load test due to this is not thread safe I include them.</p>
  
  <p>I've found that I need to set the runmode to "SINGLETON_AND_WAIT", but my question here is HOW i do that.</p>