Forum Discussion
SmartBear_Suppo
Alumni
13 years agoI'm thinking the following setup may work:
- create different CSV file inputs per environment
- create a Groovy script that figures out your active environment (testRunner.testCase.testSuite.project.getActiveEnvironment().getName() ) and then sets a custom property to the corresponding input CSV file (http://www.soapui.org/Scripting-Propert ... properties)
- In your datasource test step, do a Property Expansion reference to get the CSV file set by your groovy script (http://www.soapui.org/Scripting-Propert ... nsion.html)
Michael Giller
SmartBear Software
- create different CSV file inputs per environment
- create a Groovy script that figures out your active environment (testRunner.testCase.testSuite.project.getActiveEnvironment().getName() ) and then sets a custom property to the corresponding input CSV file (http://www.soapui.org/Scripting-Propert ... properties)
- In your datasource test step, do a Property Expansion reference to get the CSV file set by your groovy script (http://www.soapui.org/Scripting-Propert ... nsion.html)
Michael Giller
SmartBear Software