I have two separate projects in SoapUI. I need to transfer a property from Project 1 to Project 2.
Also every time Project 2 is executed I need it to run a test case within Project 1 to get an updated property value.
Project 1
- Request-Add A Person (returns with id)
Project 2
- Request-Post a Photo(needs updated id from project 1)
I found a Groovy script that will take a property from another project.
testRunner.getTestCase().getTestSuite().getProject.getWorkspace().getProjectByName(project name)
testSuite = project.getTestSuiteByName(suite_name);
testCase = testSuite.getTestCaseByName(testcase_name);
However I am stuck on how to run a test case in a different project with a Groovy script