tgeliot
9 years agoContributor
On https://www.soapui.org/scripting-properties/tips-tricks.html
I found the following tip:
15. Run a TestCase located in another project
def prj = testRunner.testCase.testSuite.project.workspace.getProjectByName("ProjectName")
tCase = prj.testSuites['TestSuiteName'].testCases['TestCaseName']
tStep = tCase.getTestStepByName("TestStepName")
def runner = tStep.run(testRunner, context)
log.info ("runner status ....... : " + runner.hasResponse())
Related Content
- 8 years ago
- 8 years ago