# Postman collection runs fine on postman but not on newman

**URL:** <https://community.postman.com/t/postman-collection-runs-fine-on-postman-but-not-on-newman/24002>\
**Category:** Help Hub\
**Tags:** newman-project, tests, collections\
**Created:** [May 22, 2021, 7:43pm UTC](https://community.postman.com/t/postman-collection-runs-fine-on-postman-but-not-on-newman/24002 "2021-05-22T19:43:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sankarasai18](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@sankarasai18](https://community.postman.com/u/sankarasai18)\
**Post date:** [May 22, 2021, 7:43pm UTC](https://community.postman.com/t/postman-collection-runs-fine-on-postman-but-not-on-newman/24002/1 "2021-05-22T19:43:35Z")

</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).

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_: postman collection runs fine on postman but not on newman

_Details (like screenshots)_:  
I am able to run the collection on postman but not on newman. I keep getting errors as

1. Status code is 200  
2⠄ TypeError in test-script

_How I found the problem_: While trying to run collections using newman.

_I’ve already tried_:
