paw app - Import dynamic variables from Postman into PAW -
i've set pretty extensive set of calls in collections using postman. use dynamic variables (e.g. {{username}}) in url, headers, , body of these calls dynamically replaced variables selected postman environment. i'd import collection (along environments) paw , have dynamic postman variables switched dynamic paw variables.
i've looked @ how import postman , ensure of environment variables resolved? exact same question, answer (to use postman importer - https://luckymarmot.com/paw/extensions/postmanimporter) doesn't seem work completely.
i've tried latest version of importer (v2.0.0) , while appears convert dynamic variables define in headers of postman calls, not replace in url or request body. after importing paw still have, example, {{username}} in request body.
any tips appreciated.
we're working on large project enable paw import many api formats in lot nicer way (including postman), should have ready next week, , solve problem you're having environment variable {{example}}
in url , body.
though, i've checked , appears previous version of postman importer had environment variable import right. maybe it's worth giving try if need today: https://github.com/luckymarmot/paw-postmanimporter/releases/tag/v1.2.0
all have do, checkout repo, checkout tag v1.2.0
, run npm install
, cake install
. should install in paw extension directory , replace existing version of importer.
Comments
Post a Comment