首页 > 解决方案 > How to change the variables form environment to collection level in postman

问题描述

I want to move variables from environment to collection level but i do not find import option in collection level, please advise.

标签: postman

解决方案


我导出了环境变量,然后打开了 JSON 文件拆分屏幕并将值复制/粘贴到集合变量中。不是最好的方法,您需要删除新行和引号的 '' 编码,但这是当时最快的解决方案。然后我没有选择任何环境来验证收集请求是否正确运行。验证后从环境变量中删除变量。


推荐阅读