# Latest changes to Postman tests doesn't reflect in Newman

**URL:** <https://community.postman.com/t/latest-changes-to-postman-tests-doesnt-reflect-in-newman/22161>\
**Category:** Help Hub\
**Tags:** newman-project, postman\
**Created:** [April 1, 2021, 3:00am UTC](https://community.postman.com/t/latest-changes-to-postman-tests-doesnt-reflect-in-newman/22161 "2021-04-01T03:00:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![flight-pilot-7314884](https://avatars.discourse-cdn.com/v4/letter/f/6a8cbe/32.png) [@flight-pilot-7314884](https://community.postman.com/u/flight-pilot-7314884)\
**Post date:** [April 1, 2021, 3:00am UTC](https://community.postman.com/t/latest-changes-to-postman-tests-doesnt-reflect-in-newman/22161/1 "2021-04-01T03:00:15Z")

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

Hi,

I’m noticing that any changes to tests in Postman isn’t reflected when running in Newman.  
Example:

In Postman, I change the following text from ‘200ms’ to ‘100ms’.

```
console.log("Hello World!");

pm.test("C6 Verify response time is less than 100ms", function () {
    pm.expect(pm.response.responseTime).to.be.below(100);
});

```

In Newman, it is still getting ‘200ms’.

```
  GET https://reqres.in/api/users?page=2 [200 OK, 2.06KB, 172ms]
  ┌
  │ 'Hello World!'
  └
  √ C6 Verify response time is less than 200ms

```

In the newman command, I am passing the url collection instead of using the exported json file.

So, is there a way to clear the cache or something?  
In order for Newman to get the latest test changes from Postman?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 1, 2021, 6:57am UTC](https://community.postman.com/t/latest-changes-to-postman-tests-doesnt-reflect-in-newman/22161/2 "2021-04-01T06:57:02Z")

</div>

Hey @flight-pilot-7314884

You’re going to need to _manually_ update the Public URL link, each time you make a change to the Collection.

This option will be in the same section where you created the shared link.

For this to be done in real time, you would need to use the Postman API URL, which would point to the various entities in the Newman command.

[https://www.postman.com/postman/workspace/postman-public-workspace/collection/12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a?ctx=documentation](https://www.postman.com/postman/workspace/postman-public-workspace/collection/12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a?ctx=documentation)

---

<div class="post-metadata">

**Author:** ![flight-pilot-7314884](https://avatars.discourse-cdn.com/v4/letter/f/6a8cbe/32.png) [@flight-pilot-7314884](https://community.postman.com/u/flight-pilot-7314884)\
**Post date:** [April 1, 2021, 8:29am UTC](https://community.postman.com/t/latest-changes-to-postman-tests-doesnt-reflect-in-newman/22161/3 "2021-04-01T08:29:16Z")

</div>

Hi @danny-dainton ,

I understand now, thanks for this important info.  
I have managed to get it done via manually clicking on ‘Update’ in the public URL section.  
And I have also managed to do it via real time with the API.

Thanks alot!

---

<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, 12:57pm UTC](https://community.postman.com/t/latest-changes-to-postman-tests-doesnt-reflect-in-newman/22161/4 "2024-12-12T12:57:17Z")

</div>

Closed on December 12, 2024, 12:57pm UTC

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