goutham777
14 years agoOccasional Contributor
Groovy in soapui
Hi All, Can anyone please tell me how to run groovy script in soapui i am new to this tool.Should we import any packages in script. Thanks in advance Thanks, Goutham
goutham777 wrote: Hi,
I am getting the following alert when tried to run test case using groovy
ERROR:org.mozilla.javascript.EvaluatorException: missing ; before statement
Code:
def testCase1 = testRunner.testCase.testSuite.project.getTestSuiteByName("mytest").getTestCaseByName("TestCase 1")
def properties = new com.eviware.soapui.support.types.StringToObjectMap (context)
def async = false
testCase1.run (properties, async)
Can anyone please help me out
Thanks,
Goutham