filmov
tv
Postman tutorial - Reuse function from collection level in tests - using environment variables

Показать описание
Basic example how to reuse code during Postman tests.
Summary:
1) Get body of function from your main collection
2) Assign it to env variable, recreate it with
3) Call of new Function()
4) Reuse it again in your test
Summary:
1) Get body of function from your main collection
2) Assign it to env variable, recreate it with
3) Call of new Function()
4) Reuse it again in your test