Solved
Forum Discussion
Radford
7 years agoSuper Contributor
The methods related to environments are on the project object, see the following Java Docs:
https://support.smartbear.com/readyapi/apidocs/pro/com/eviware/soapui/impl/wsdl/WsdlProjectPro.html
The WsdlProjectPro object has a method setActiveEnvironment which you should take a look at.