当前位置:网站首页>Postman setting environment variables
Postman setting environment variables
2022-07-07 09:13:00 【zhangyr0916】
Method 1 :
① Click on postman Left column Environments, Click the add button ;
② stay New Enviroments Fill in the name of environment variables and value And save ;
③ View the set environment variables ;
④ Reference environment variables , Use { { Variable name }} quote ;
⑤ Click on send Send a request , The request is successful .
Method 2 : stay Pre-request Script Set in
Pre-request Script Is the code fragment in the collection that needs to be executed before the request is sent
① Click on Pre-request Script;
② Click on the right Set an environment variable, Generate script template ;
③ Modify the relevant information in the script template ;
④ Reference environment variables , Use { { Variable name }} quote ;
⑤ Click on send Send a request , The request is successful .
⑥ View environment variables .
边栏推荐
- Storage of data in memory
- Selenium automation integration, eight years of testing experience, soft test engineer, an article to teach you
- E-commerce campaign Guide
- What are the suggestions for PMP candidates?
- Golang etcdv3 reports an error. The attribute in grpc does not exist
- On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
- Full link voltage test of the e-commerce campaign Guide
- Entity of cesium data visualization (Part 1)
- Why is access to the external network prohibited for internal services of the company?
- Simple use of Xray
猜你喜欢
随机推荐
Pytest+request+allure+excel interface automatic construction from 0 to 1 [five nails / flying Book notice]
Calf problem
硬核分享:硬件工程师常用工具包
H3C VXLAN配置
使用Typora编辑markdown上传CSDN时图片大小调整麻烦问题
C language pointer (exercises)
Platformization, a fulcrum of strong chain complementing chain
Goldbach conjecture C language
Alibaba P8 teaches you how to realize multithreading in automated testing? Hurry up and stop
MySQL master-slave delay solution
How to use Arthas to view class variable values
【Istio Network CRD VirtualService、Envoyfilter】
【Istio Network CRD VirtualService、Envoyfilter】
Unity Shader入门精要初级篇(一)-- 基础光照笔记
Personal deduction topic classification record
Locust performance test 4 (custom load Policy)
JVM garbage collection detailed learning notes (II)
C语言指针(中篇)
硬件大熊原创合集(2022/05更新)
Output all composite numbers between 6 and 1000