Get a list of TestSuite names in soapUI via Groovy Script

,

Add a Groovy Script test step and add the following:

def project = context.testCase.testSuite.project;

for (testSuite in project.testSuiteList) {
log.info testSuite.name;
}