获取当前测试用例下所有Groovy Script类型的测试步骤
def testStepList = testRunner.testCase.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.class)
更多Test Step的Type可以参考SoapUI的API:
http://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/teststeps/package-summary.html
Test Step Type有一下几种: