It is common for SOA applications to be developed and maintained by different teams under different environments.
For example, a developer may start with tests on a local server. Then, as the app is deployed to a development build server, the same tests need to be executed against that server. Later, QA and testing teams need to run the same regression tests on their own integration server.
Parasoft SOAtest’s environments management feature facilitates such tasks because reusing and sharing test assets is critical for achieving a highly efficient process. One common way is to have SOAtest configure automatically generated tests for environments, then modify environment settings so that the generated tests can be more easily used in different environments—without requiring any changes to the actual tests.
To create a new test suite with preconfigured environment variables:
http://localhost:8080/parabank/services/store-01?wsdl
in the WSDL URL field.Default Store Environment
under the Name field, select Both under Variable Types, then click Finish.To configure SOAtest to run these same tests in another environment, create a new environment configuration:
Echo Environment
in the Name field.Note that:
soa_env
prefix to reference environment variables. For example, ${soa_env:Variablel}/calc_values.xlsx
Environments can also be deployed to assist in web scenario execution—in much the same way that they can be used in service functional testing.
When a web functional test is created, a new environment is created. By default, it contains the base URL for the web site you are testing (named {DOMAIN_COM_BASE_URL}). You can create additional environments that can redirect the test initiation to another base URL (e.g., if you are testing a web application that is deployed locally).
One of the greatest benefit of environments is the ability to rerun the same regression suites from the command line without having to open the SOAtest GUI and modify host or URL settings.
For an example of how to do this, see Applying an Environment Configuration to a Regression Test from the Command Line.