GitHub - kneradovsky/allure-alm: Export generated allure results to HP ALM using alm rest api

allure-alm exporter

Export Allure results to HP ALM using alm rest api

Usage workflow

  1. Run youre tests
  2. Generate Allure reports
  3. Export them to the HP ALM

Sample report

[TBD]

Usage

One can use the the exporter either as a standalone java application or from as a maven goal. The exporter accepts up to 3 command line parameters:

  1. Allure reports data folder (The folder that contains behavior.json file)
  2. Allute reports base url (The url of root of thepublished allure report. The root contains the index.html)
  3. File path of the HP ALM connection properties file
  • If run with 2 parameters it loads alm-report.properties as the classpath resource
  • if run without any parameters it loads alm-report.properties as the classpath resource and assumes that system properties dataFolder and baseUrl point to the data folder and base url respectively

Alm-report.properties

  • alm.resturl rest url of the hp alm
  • alm.domain alm domain name
  • alm.project name of the alm project that contains reported test cases
  • alm.user user that posts the report to the alm
  • alm.password password of the alm.user
  • alm.baseFolder base folder of the reported results in the alm test lab
  • alm.resFolderPtrn Date Format template of the result folder