当前位置:网站首页>Postman setting environment variables is simple and practical
Postman setting environment variables is simple and practical
2022-04-21 10:33:00 【12 program ape】
One 、 Preface
We are using postman When testing the interface , A project often has multiple environments ( test 、 Formal etc ), The general environment of the request is different It's just ip Different from port , If only the environment is different, create a new request , Then it will be more troublesome . At this time, we can define multiple environment variables , Reference in the interface address .
Two 、 Create environment variables
1. Click on postman The Edit button in the upper right corner ( The red box in the upper right corner of the figure below ), choice add, Fill in the name of the environment , Variable name , The corresponding variable value . Multiple environments , Just create multiple environments

Enter the variable name , The corresponding variable value , Click save :

You can right-click to modify the name of the environment :

Or add an environment in the following way :

2. Add after completion , We can do that Environment Selection box , Choose our environment :

3. After selecting the environment variable , We can reference the variables in this environment , The reference method is :{
{ Variable name }}

For some general parameters , We can all use this method to set references , It can be easily used by us
版权声明
本文为[12 program ape]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211028581695.html
边栏推荐
- 24 pictures to conquer border image
- [software test series IX] description of matters to be provided for pressure test application
- 24 pictures to conquer border image
- What happens when you run the NPM install command?
- 内存模型和名称空间知识点总结
- Ant a-table tree table cascade selection
- Cisco Packet Tracer实验集合
- 【并发编程045】什么是伪共享内存顺序冲突?如何避免?
- Jeecgboot: the difference between online form control drop-down box and drop-down search box
- Microsoft updates the verifier application for Android / IOS to support the generation of more secure strong passwords
猜你喜欢

Android学习 ① Android连接不上Mysql数据库的多种原因以及解决方式

Why programming is so difficult: starting from the deduction of stored value card

24张图攻克border-image

2022 information and future preparation topic 4 new online judge 2034: pruning shrubs

MKL and vs2019 configuration method

以用户体验五要素的思路,如何编写产品需求文档(PRD)

IDEA和PyCharm启动时进入欢迎界面

Vulnhub PRIME: 1

2022信息与未来预备刷题3《New Online Judge 1059: 字符串排序》

(SIP-1-话机注册)关于IP话机通过SIP协议注册到PBX电话交换机的全过程解析-如何看wireshark中的报文
随机推荐
MKL与VS2019配置方法
Release announcement of HMS core version 6.4.0
Uniapp wechat applet clicks the button to call wechat payment
WinPcap获取设备列表
Zsh: segmentation fault solution
Summary of knapsack problem (0-1, complete, multiple knapsack problem)
L1-045 cosmic invincible greeting (5 points)
说一说期货网络开户的安全系数
bash shell中的退出状态码
最通俗易懂的依赖注入与控制反转
uniapp 微信小程序 点击按钮调用微信支付
背包问题小结(0-1,完全,多重背包问题)
金融零售图谱-交易流水预警图谱
WeChat official account web page sharing settings and problems
UVM和SystemVerilog中的返回值使用方法
torch.autograd.Function 自定义
How to read a source code?
基于润和大禹开发板的导购系统项目方案
Page navigation - declarative / programmatic navigation
MKL and vs2019 configuration method