How to create an environment in postman

What is environment

An environment is defined as a full website or application stack containing everything the website or application needs to deliver features and content to users.

Web development projects should use at least two or more environments.

  1. Develop
  2. Staging
  3. Production

Develop Environment

develop environment developer/engineer can work on production code. Generally, it is used to add new features or bug fixes in updated code and does testing.

Staging Environment

staging environment is the last step before something goes into production and is visible on the live site.

staging site’s main purpose is to ensure that all new changes deployed from previous environments are working as intended before they hit the live website.

Production Environment

production environment is the live site of your project.

Add environment in postman

1. Open Environment by click “eye icon”

2. Click on “Add” and put environment name and variable example: site_name

3. Select environment

Now we are ready to use the “Develop” environment. For staging and production, we need to create the same name variables.

Once you change the environment it will automatically get the variable values.

Now you need to create your Rest API collections in postman.

Please follow and like us:
Tweet 20

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *