Ben Weese

Monthly Archives: October 2022

Testing with Postman: Lodash

Another javascript library built into Postman is Lodash. Looping Arrays with Lodash Sometimes you will want to iterate through an array. Maybe your response itself is an array. Luckily there is an easy for loop that can be used. This is use for where you see [] in the Json as that means what is […]

Testing with Postman: Moment

Postman has many built in Javascript libraries. Moment is one of the more useful ones for getting dates such as today’s date or tomorrow’s. Creating a Date with Moment Moment is another tool build into postman that can be used for your test. This is great for creating a rolling future, current or past date. […]