How to analyse newman htmlextra report?



  • Hi could someone explain the fields in Postman htmlextra report. I am not able to understand why testscripts fail shows '0' even though two assertions failed

    1. I only have 15 pm.expect in my testscripts but assertion shows as 19.
    2. Failed test shows as 2 but in summary testscripts shows fail as 0
    3. How to know total no of scenarios covered (No:of tests ) from this report.

    Newman Htmlextra report

    Also, why the count shows as two in the total request tab for the below scripts even though it was ran only for 1 iteration. How is this count changed ?

    enter image description here



  • I only have 15 pm.expect in my testscripts but assertion shows as 19.

    Assertions in postman actually means what ever inside pm.test and not just all pm.expect. So total number of assertion is the total number of testcases.

    Failed test shows as 2 but in summary testscripts shows fail as 0

    Testscripts are marked as failed when there is compilation or runtime errors for the scripts under tests tab. For instance, undeclared variables in the scripts

    How to know total no of scenarios covered (No:of tests ) from this report.

    Total number of assertions gives total number of test cases

    why the count shows as two in the total request tab for the below scripts even though it was ran only for 1 iteration. How is this count changed ?

    This includes the pre request script + pm.test



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2