Forum Discussion
SmartBear_Suppo
Alumni
14 years agoHere's the method you are looking for: http://www.soapui.org/apidocs/pro/com/e ... Container()
You can use it like this from a Groovy TestStep (for example):
Hope this helps!
Henrik
SmartBear Software
You can use it like this from a Groovy TestStep (for example):
myDatabaseConnection = testRunner.testCase.testSuite.project.databaseConnectionContainer.getDatabaseConnectionByName('The name of a connection')
myDatabaseConnection.setPassword('passwordOfYourChoice') Hope this helps!
Henrik
SmartBear Software