Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Postman Tutorial Part 13 – Create, Manage and Use Environment In Postman

Posted on 03/21/2025 By admin

In last post, We have already seen about Understanding on Environment and Global variables. In this post we will see how can we create and access an Environment in Postman.

An Environment in Postman is a set of key-value pairs. The key represents the name of the variable and value is information that key holds.

  1. Click on “Manage Environment” icon at right top corner of Postman tool.

2. You will see below screen:

3. Click on “Add” button. You will see below screen:

4. Give an environment name in “Environment Name” folder. Add a new variable and pass initial value. You will notice that same value given in Initial value will be copied in “Current value” field. “Current value” field keeps the current value of variable.

5. Click on “Add” button. You will see an environment created with named “QA Environment”.

6. You can add/update variable details in existing environment by clicking on its name.

7. Select a created environment in dropdown in workspace.

8. Click on “Environment quick look” (Eye icon). It will show you added variable details.

We can use variables in the request builder which includes the URL, URL parameters, headers, authorization, request body and header presets. We just need to use variable name as placeholder {{variableName}}. This placeholder will be replaced with its current value. For example: – {{URL}} will be replaced by “https://gorest.co.in/ ” from the environment “QA Environment”.

Mouse hover on {{URL}}. You will see all details. See example below:-

Click on “send” button. It will work perfectly.

  1. Variable declared in an Environment is local to that environment. You need to select name of the environment first before accessing any variable of it.
  2. You can not select multiple environment names at the same time.
  3. You can not add duplicate variable in same environment but it can be in different environment.

Hope you are clear with creating and accessing environment in Postman. We will see some more about it is upcoming posts.

More about API Testing in upcoming posts. Stay tuned.

If you have any doubt, feel free to comment below.If you like my posts, please like, comment, share and subscribe.#ThanksForReading

#HappyApiTesting

Uncategorized

Post navigation

Previous Post: Handling Window Authentication in Chrome Using Selenium WebDriver
Next Post: Handling Bootstrap Tooltips In Selenium Webdriver

Related Posts

REST Assured Tutorial 40 – @JsonIgnoreProperties Annotation Of Jackson API – Exclude Field Of Pojo From Serialization Or Deserialization or Both Uncategorized
Java Programs | Make Selenium Easy Uncategorized
image – Make Selenium Easy Uncategorized
Environment Variables in Postman Uncategorized
image – Make Selenium Easy Uncategorized
image – Make Selenium Easy Uncategorized

Recent Posts

  • Getting Started with Selenium 4: What Is New and How to Upgrade from Selenium 3
  • Manual Testing
  • Baby Steps To Become Efficient Selenium-Java Automation Tester
  • Features of Selenium 4.0.0 Release – Java Binding
  • Part 1: Handling Drop-down Created Using SELECT Tag In Selenium

Recent Comments

No comments to show.

Archives

  • April 2026
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • August 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • May 2022
  • March 2022
  • October 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • May 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • January 2018

Categories

  • Getting Started
  • Uncategorized

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark