Mabl now supports accessing your environment and DataTable variables within the API Test Editor!
Previously, while running API tests with environments and DataTable scenarios was supported, you were unable to view these variables within the API Test Editor. Instead, you had to manually add a variable with a matching name and value as your environment or DataTable variable.
Now, when you select an environment and a scenario to use during training, all the associated variables and their values are loaded into the API Test Editor.
How it works
When you create or edit an API test, select the environment and DataTable scenario that you want to load in the API Test Editor:
Selecting an environment and DataTable scenario to train an API test
When you save the test, only the variables with a default value persist in subsequent editing sessions. We suggest setting defaults on the variables used in the test to make it clear which variables the test relies on.
Using environment and scenario variables in the API Test Editor
Follow these links to learn more about the API Test Editor, DataTables and mabl's support for importing environment variables from Postman.