Forum Discussion

chary_chelloji's avatar
chary_chelloji
Occasional Contributor
14 years ago

Calling Datasink test step using Groovy

Hello,

Iam trying to run a test case from other test case , which has only datasink test step to insert values in access database tables.

Below code is added to teardown script tab to run the datasink step at the end.
-----------------------------------------------------------------------------
def project = testRunner.testCase.testSuite.project
def runner = project.testSuites['TestReportLog'].testCases['ReportTestResults'].run( null, true )
runner.waitUntilFinished();

but test cases with datasink test step is not being called using groovy code. When I run datasink test step manually, results are being saved into tables correctly.

Iam using SoapUI Pro 3.6 version. Could you please help me to get this working?

Thanks
Chary Chelloji
  • Hi,

    Since you are using the Pro version, you are entitled to Pro support. Please read how you get access to the Pro forum here.

    Thanks

    Henrik
    SmartBear Software