postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.86k stars 1.16k forks source link

Feature request: Export packages in postman to reuse code and run in newman #3287

Open varsharyalii opened 1 week ago

varsharyalii commented 1 week ago

Title: Feature Request: Add package.json Support in Newman for Package Management

Description:

Hi Team,

I’m a frequent user of Newman CLI in my CI/CD pipelines and would like to request support for package.json to improve dependency management. I understand that Newman is a separate project from Postman, and currently, the package library is not supported. However, being able to manage and install external dependencies through a package.json would greatly benefit users like me who rely on Newman for automating Postman collections.

Currently, the package library available in Postman’s UI cannot be used in Newman, and I have encountered situations where external packages (e.g., lodash, moment) would simplify our scripts. Having support for package.json would streamline this process by:

Benefits:

This feature would improve flexibility and efficiency in using Newman with external libraries in test automation.

Thank you for considering this!

figuedmundo commented 4 days ago

+1