ContributionsMost RecentMost LikesSolutionsRe: Error groovy.lang.MissingMethodException: No signature of method: java.lang.String.getService() sanathkd, These lines are expected to work perfectly, def project=testRunner.testCase.testSuite.project def getEnv = project.getEnvironmentByName('test1'); def wsdlInterface = project.getInterfaceAt( 0 ).getName(); def wsdlService = getEnv.getService(wsdlInterface, com.eviware.soapui.config.ServiceConfig.Type.Enum.forString("SOAP")); log.info wsdlService.name Can you try looking at : ToolBar >> Environment Dropdown >> Configure Environments >> Choose your test environment >> Tab "SOAP" and make sure you have atleast one API/Service added there. If there's atleast one service, Since you're trying for index '0' it must give positive result. See image below. Re: Creating databaseConnectionContainer in readyapi using groovy script sanathkd: You can create using below lines : //Get test env where you require changes. def env=testRunner.testCase.testSuite.project.getEnvironmentByName("EnvName") //Get getDatabaseConnectionContainer for that environemnt. dbContainer= env.getDatabaseConnectionContainer(); // Add new connection def connection = dbContainer.addResource(conName) //Set all properties. connection.setDriver(driver) connection.setConnectionString(conString) connection.<AnyOtherProperty>() Thank you, Sunil Devasya