Managing Environments
Environments in DocStar help users organize and manage API configurations efficiently. They allow you to store and reuse variables like base URLs, authentication tokens, and request parameters, making API testing more flexible and dynamic.
.png)
Adding Environments
DocStar allows users to create two types of environments:
Global Environments – Accessible across all collections and requests.
Private Environments – Available only within a specific workspace.
How to Add an Environment:
Navigate to the Environments section. Click on the Add Environment
Choose whether the environment is Global or Private.
Enter the required variables and their values.
Save the environment for future use.
Managing Environments
Users can modify or delete environments to keep their workspace organized.
To Delete an Environment:
Open the Environments section.
Select the environment you want to remove.
Click the Bin option to permanently remove it.
Importing Environments
If you have preconfigured environment settings, DocStar allows you to import them instead of manually adding variables.
How to Import an Environment:
Go to the Environments section.
Click on the Import button.
Select the file containing environment configurations.
DocStar will automatically load and apply the imported settings.
Using Environments in Requests
Once an environment is set up, you can:
✅ Select it from the Environment Dropdown before sending a request.
✅ Use stored variables to dynamically populate request data.
✅ Switch between environments without changing URLs or credentials manually.
DocStar’s environment management ensures streamlined API testing with reusable and easily configurable settings.