# Assertion Errors are considered in the Failed tests count in htmlextra report

**URL:** <https://community.postman.com/t/assertion-errors-are-considered-in-the-failed-tests-count-in-htmlextra-report/27521>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [September 6, 2021, 11:02am UTC](https://community.postman.com/t/assertion-errors-are-considered-in-the-failed-tests-count-in-htmlextra-report/27521 "2021-09-06T11:02:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinaybajjuri](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@vinaybajjuri](https://community.postman.com/u/vinaybajjuri)\
**Post date:** [September 6, 2021, 11:02am UTC](https://community.postman.com/t/assertion-errors-are-considered-in-the-failed-tests-count-in-htmlextra-report/27521/1 "2021-09-06T11:02:19Z")

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

I have a login request.. In the failed scenario i have written the statement tests[“Login Failed”] =false;..  
It is executing fine in postman and showing 1 Assertion Error  
But in newman, it is showing as 2 tests failed, one Assertion Error and one Assertion Failure.. Please find the attached screenshots.

_Details (like screenshots)_:

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/4/444c3f5791153f9559d365e42fffc80834e60fe0.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/d/d07397b328741bf23870e5b7749523b4680b03bb.png)

_How I found the problem_:

_I’ve already tried_:  
I have tried using assert and just console.log in test which is raising single assertion error but the test is getting passed.

---

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [September 6, 2021, 3:48pm UTC](https://community.postman.com/t/assertion-errors-are-considered-in-the-failed-tests-count-in-htmlextra-report/27521/2 "2021-09-06T15:48:36Z")

</div>

Can you add an example on how to reproduce this issue
