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.

Copy of Copy of Untitled Design (13).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:

  1. Navigate to the Environments section. Click on the Add Environment

  2. Choose whether the environment is Global or Private.

  3. Enter the required variables and their values.

  4. Save the environment for future use.


#

Managing Environments

Users can modify or delete environments to keep their workspace organized.

#

To Delete an Environment:

  1. Open the Environments section.

  2. Select the environment you want to remove.

  3. 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:

  1. Go to the Environments section.

  2. Click on the Import button.

  3. Select the file containing environment configurations.

  4. 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.