title: Get all test cases and test steps in SoapUI-project
body: <p>I'm looking for a way to get all the test cases with belonging test steps in SoapUI Pro.</p>
  
  <p>I've managed to get all the test steps under one test case (Groovy in Setup Script)</p>
  
  <pre><code>def projectName= testRunner.testCase.testSuite.project.getName()   
  def testcaseName = testRunner.getTestCase().getName()   
  
  File myTestFile = new File("C:/temp/" + projectName + ".txt")
  
  myTestFile .withWriterAppend{ out -&gt;
  
              out.println("TestCase: " + testcaseName)
                  testRunner.testCase.getTestStepList().each(){
                      out.println("TestStep: " + it.getName())
  
      }
  
  
  
  }
  </code></pre>
  
  <p>How can I get all test cases and test steps?</p>