Eval () function

Hi all,
I’ve been reading this post today:


Is Eval still used within postman? the blog post was so long ago and can find no recent reference to it?

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Hi there @Natasha.Brown -

Yes, eval() is a native JavaScript function, so you can use it in Postman under the Pre-request Script and Tests tabs.

If you search for “eval” on this forum using the magnifying glass in the top right, you can find examples of how other folks are using it. Also here is a (somewhat) more recent post describing how to use it in general.

1 Like