So, currently, I can run my tests with maven, via this command -
mvn -Denvironment=env1 -DtestSuite= -Dbranch=master -DtestCase= clean test -Dsoapui.environment=env1
I want to be able to similarly pass in Rest Services endpoints, example
account-api = http://accounts:8300
Is there a way to pass it? I see that there is soapui.endpoint, but I am unsure how to pass the info.
Now, you may add -Dendpoint=http://yourhost:port your command
Disclaimer: Just collected it from net, never tried myself.
Also look at this resource