Autocomplete Now Available in Postman Script Editor Kin Lane September 2, 2020 We are continuing to roll out features that help augment and automate what developers are doing when working with APIs in Postman, incrementally providing them with new superpowers to be faster and have more control during API development. With the recent release of Postman v7.29, autocomplete is now part of the editor tab for both pre-request and test scripts—we’ve added autocomplete for Node.js, Node.js modules, and the pm.* functions. This evolution brings more integrated development environment (IDE) functionality into Postman, making it easier to craft the script you need to manipulate the request, then automate and test each response returned. Node.js autocomplete The pre-request and test script editors for any request, folder, or collection will now autocomplete JavaScript for you, helping you more efficiently write scripts to automate and work with API requests and responses. JavaScript language is now at your fingertips It can be difficult to remember every JavaScript command you will need while scripting in Postman, and Node.js autocomplete will save you some trips to Stack Overflow to find what you need to work with each API request and response. Node.js modules autocomplete Along with the core Node.js autocomplete, Postman has added autocomplete for the Node.js modules that are included as part of the Postman Sandbox, extending what you can do with JavaScript when working with requests and responses. Node.js modules are now accessible as you type The Postman Sandbox provides a variety of Node modules to put to work, while still ensuring that malicious code isn’t executed as part of each collection run. Developers can be more efficient in their scripting, while also keeping things secure. Global pm.* functions autocomplete The pm object encloses all information pertaining to the script being executed and allows one to access a copy of the request being sent or the response received, as well as the ability to get and set environment and global variables. All of these functions are also now available as autocomplete within the pre-request and test script editors, for developers to use while automating and working with requests and responses: Autocomplete for pm.* functions opens up the surface area of each API request and response orchestration before and after each collection, folder, or request is executed as part of a runner or monitor. How autocomplete helps Adding in autocomplete for Node.js, Node.js modules, and the pm.* functions is all about improving developer speed and accuracy. Developers now have the ability to recall every capability available to them via the Postman platform for automating, orchestrating, and chaining API requests together. In this post Tags: Engineering Product Updates Scripts Kin Lane Postman Chief Evangelist Kin Lane helps our community see the larger API landscape and better understand how Postman supports developers to be more successful across the modern API lifecycle. View all posts by Kin Lane → What do you think about this topic? Tell us in a comment below. Comment Cancel replyYour email address will not be published. Required fields are marked *Your name Your email Write a public comment Δ This site uses Akismet to reduce spam. Learn how your comment data is processed. 3 thoughts on “Autocomplete Now Available in Postman Script Editor” Joe Sims September 21, 2020 I believe that the autocomplete feature is a very valuable tool both to those learning to use java …… such as myself. And a useful time saver to those who are more experienced in creating codes. Elliot levy September 22, 2020 I have loved using Postman and when I was showing someone how to do post-request tests I realized that this feature was added… ITS AMAZING. Thank you so much for adding this super useful tool! Not only does it speed up my typing/development, but it also makes it a lot easier to remember and learn all the various keywords. Sonya October 7, 2022 I think if i knew anything about it i would love it lol. You might also like Build and DynamicallyTest a Banking API with Agent Mode and Postman MCP Server Pooja Mistry What if you could build an API, generate tests with AI, and connect the whole thing to Claude—all in one workflow? That’s… Read more → Postman Product Update: December 2025 The Postman Team This year, we shipped features that close workflow gaps across the entire API lifecycle. We focused on improving how teams collaborate, making… Read more → How to create a REST API with Node.js and Express The Postman Team Quick answer: How to Build a REST API with Node.js and Express Building a REST API with Node.js and Express is one… Read more →