Environments
Environments represent different runtime infrastructures. For example they can be used for different software development stages (“development”, “testing”, “production”). Variables, Databases, SOAP Web Services and Rest Clients comes with environment support. Defining an environment value in these features is always optional. For example: If you have multiple environments and using Variables, you don’t have to specify values for all environments. If one is missing, it will fallback to the default value.
If you want to define a configuration e.g. REST client for a specific environment
then you need to create a new folder in your project for the given environment
e.g: [project]/config/_[env]
> [project]/config/_dev
. After that
you can copy the configuration file e.g. rest-clients.yaml
there. You can then
edit this with the given editor - by double clicking on the file.
Change Environment for Simulation
It is possible to change the active environment for the simulation by setting the environment in the preferences.
Change Environment at Runtime
The active environment can be specified in app.yaml. If no environment is active at all, the Default environment will be taken.