SoapUI Pro headless using property file
Basic Info: Pro version - Headless - Linux RHEL 7
What happend(/s)? We have a SoapUI project which one tester always ran. However since our company (Rabobank) wants to automate everything we have setup Azure DevOps with 1 build machine which contains SoapUI Pro license that is able to run SoapUI tests. We are using the 'testrunner.sh' (attached as.pdf) to run the builds.
To automate the SoapUI tests on multiple environments we want to override the properties of the SoapUI project. To do so we thought we could use -Dsoapui.properties=/path/to/file.
We are aware there is already a '-Dsoapui.properties=soapui.properties' in the testrunner.sh but we send it as parameter when starting the script to override it.
The problem? The properties are not being overriden, we tried to read the new properties by '${#Project#propertyName}' AND '${#System#propertyName}' but System is blank and Project is the default property we would like to override.
What we would like? We would like to be able to run the 'testrunner.sh' script and override the soapui standard (PROJECT) properties we have given by giving 1 file with all properties in it. (Ye we know you can set properties with the -P flag.)
Hi SoapUIPro , If under 'multiple environments' you mean several sets of project property values, you can use Environments for this: https://support.smartbear.com/readyapi/docs/testing/environments/index.html#create?sbsearch=environment
>>
In ReadyAPI, an environment is a set of parameters that match certain configuration for your tests. An environment includes API endpoints, authentication profiles for REST, SOAP, and GraphQL services, database connection settings, custom project properties, and parameters of connection to JMS servers.
<<