0

I was trying to export my Postman Collection but it is not exporting Cookies with that. Is there any method that I can use to export cookies along with my requests as well?

Henke
  • 4,445
  • 3
  • 31
  • 44
Usama Azad
  • 21
  • 2

1 Answers1

0

You could store the cookies as environment variables as well as reading/ setting them from environment variables. You then would also need to export the environment.

pm.environment.set('my_cookie', pm.cookies.get('cookie'));

Christian Baumann
  • 3,188
  • 3
  • 20
  • 37