Forum Discussion

Pritish_Panda's avatar
Pritish_Panda
Contributor
9 years ago

Running a Rest project through Groovy script .

Hi ,   I want to run one Rest project from another project by using groovy Script . How can I run a Rest Project through Groovy script ?   Thanks  Pritish Panda      
  • Pritish_Panda's avatar
    9 years ago

    Hi All,

     

    I got the solution ,

     

    //get the Backward Project
    def getProjectName=testRunner.getTestCase().getTestSuite().getProject().getWorkspace().getProjectByName(BACKWARD_PROJECT_TAG)

     

    //Execute the Backward Project
    getProjectName.run(new com.eviware.soapui.support.types.StringToObjectMap(), false)

     

     

    Thanks 

    Pritish Panda