Allure Newman configuration

The Allure Newman adapter behavior can be affected by some configuration options.

To pass an option, you can just add it to the command when running Newman. For example:

Bash
npx newman run https://www.postman.com/collections/cb208e7e64056f5294e5 \ --reporters cli,allure \ --reporter-allure-export output/allure-results
Bash
yarn dlx newman run https://www.postman.com/collections/cb208e7e64056f5294e5 \ --reporters cli,allure \ --reporter-allure-export allure-results
Bash
pnpx newman run https://www.postman.com/collections/cb208e7e64056f5294e5 \ --reporters cli,allure \ --reporter-allure-export allure-results

--reporter-allure-export ⟨DIRECTORY⟩

Path to the directory where Allure Newman will save the test results, see How it works. If the directory does not exist, it will be created. Defaults to allure-results.

--reporter-allure-collection-as-parent-suite

If set, Allure Newman will put each test into a suite based on the Postman collection name.

This suite will be put inside the structure defined by the parentSuite, suite and subSuite labels. For example, in a Postman collection named “Authentication”, the “Web interface → Essential features” hierarchy will become “Web interface → Essential features → Authentication”.

Powered by
logo

Join our newsletter

Join our community

We aim to make Allure Report as reliable and user-friendly as possible, and together with the community, we're here to help when problems arise.

© 2024 Qameta Software Inc. All rights reserved.