# Newman scenario

**URL:** <https://community.postman.com/t/newman-scenario/14932>\
**Category:** Help Hub\
**Tags:** newman-project, tests\
**Created:** [August 11, 2020, 4:59pm UTC](https://community.postman.com/t/newman-scenario/14932 "2020-08-11T16:59:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![huguesbr](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/huguesbr/32/5240_2.png) [@huguesbr](https://community.postman.com/u/huguesbr)\
**Post date:** [August 11, 2020, 4:59pm UTC](https://community.postman.com/t/newman-scenario/14932/1 "2020-08-11T16:59:47Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hey,

I love postman / newman. We use it extensively to test our API.

We’ve created basic scenario ( requests in folder ): signup, signin, add product to cart, checkout.  
Unfortunately this requests can’t be shared with other scenario and need to be duplicated ( and later maintain ).

So I’ve build a gem ( sorry ruby is my language ^^ ) to do so:

> **[GitHub - huguesbr/newman\_scenario: Allow to run re-usable collection of requests...](https://github.com/huguesbr/newman_scenario)**
>
> Allow to run re-usable collection of requests using newman

Launch it, set your postman API token, pick a collection and env ( supporting workspace ) and cherry pick some requests to be chain. The list of requests ( name ) is store in a local JSON file and uses to be a new collection extracting this requests from the main collection and running this collection using postman.

Let me know what you think and if you like it will add a PR to mention in README

Thanks you anyway for this really great tooling ^^

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 2:48pm UTC](https://community.postman.com/t/newman-scenario/14932/2 "2024-12-12T14:48:54Z")

</div>

Closed on December 12, 2024, 2:48pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
