Using Variables and Environments

If properly setup any API Fortress test can be run against any environment. You’ll notice that is what we did in our functional test by turning the API URL into three separate parts –  protocol, domain, and endpoint. This allows you to set the default location under Data Sets (in the left pane), but also you can override those amounts with the Environments tab (shown below).

The Environments panel lets you change anything, not just environments. You can run the test against a certain environment, using a different API key, and datasource.

Environments Basics

Environments Advanced