# \[15 Days of Postman for Testers: Day 08\] Test failures in Newman

**URL:** <https://community.postman.com/t/15-days-of-postman-for-testers-day-08-test-failures-in-newman/47626>\
**Category:** Help Hub\
**Tags:** newman-project, tests, challenge\
**Created:** [May 19, 2023, 11:12am UTC](https://community.postman.com/t/15-days-of-postman-for-testers-day-08-test-failures-in-newman/47626 "2023-05-19T11:12:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![askonieczna](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@askonieczna](https://community.postman.com/u/askonieczna)\
**Post date:** [May 19, 2023, 11:12am UTC](https://community.postman.com/t/15-days-of-postman-for-testers-day-08-test-failures-in-newman/47626/1 "2023-05-19T11:12:37Z")

</div>

Hi, I have similar problem to this one [[15 Days Challenge - tester - Day 8: Collection Run in Chrome Browser Postman Account and with Newman: different results](https://community.postman.com/t/15-days-challenge-tester-day-8-collection-run-in-chrome-browser-postman-account-and-with-newman-different-results/42955)], but a little bit more complicated.  
In Postman my tests are passed, but not in Newman. It seems like Newman doesn’t see name, email and uuid (e.g. responseJson.data.name) as json objects? I was trying to parse JSON in other ways but I failed. Thank you for any ideas you’d have. Below I add some screenshots.

my test:  
const responseJson = pm.response.json();

pm.test(“Returns correct name, email and uuid”, function () {  
pm.expect(responseJson.data.name).to.eql(pm.collectionVariables.get(“name”));  
pm.expect(responseJson[‘data’][‘email’]).to.eql(pm.collectionVariables.get(“email”));  
pm.expect(responseJson.data.uuid).to.eql(pm.collectionVariables.get(“uuid”))

});

 ![obraz](https://us1.discourse-cdn.com/getpostman/original/3X/5/9/59e92e693645c3fcc688c3cf29f3731142d1b2b6.png)

 ![obraz](https://us1.discourse-cdn.com/getpostman/original/3X/1/8/18c262cf88d8ef87120cc778db3884983f095463.png)

---

<div class="post-metadata">

**Author:** ![jecorde](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jecorde/32/14048_2.png) [@jecorde](https://community.postman.com/u/jecorde)\
**Post date:** [July 14, 2023, 4:26am UTC](https://community.postman.com/t/15-days-of-postman-for-testers-day-08-test-failures-in-newman/47626/2 "2023-07-14T04:26:37Z")

</div>

I believe your issue was solved 🙂. However I would like to mention that I did not face any problems on Day 08. I set all the variables like collection variables along with the postman\_api\_key and the collection\_uid. You can find attached the folder run through newman.

 ![Newman_cmd_1](https://us1.discourse-cdn.com/getpostman/original/3X/2/6/26bc77f70c2d3d5df47f8b0ec24c6d6d00fe02c1.png)  
 ![Newman_cmd_2](https://us1.discourse-cdn.com/getpostman/original/3X/7/6/766ad4cc601f6a829c3d8b638359032579e0ac50.png)
