Format Java Cucumber and Report

This 'Pulse Rule' sample takes raw CucumberforJava.json surefire reports and configures them into a format that the auto-test logs endpoint will understand. At the end of this Action, the Rules that use the Action "UpdateqTestWithReults" will be called.

Anything that uses constants.X will need your own constants value.

Pulse Rules

CucumberJSON.js

Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.

Setup Pulse Rule

  1. Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.

  2. Enter the sample Program Code in the Pulse Actions.

    For the most up-to-date sample program code, view the Pulse Rules repository.

Constants

  • SCENARIO_PROJECT_ID

  • QTEST_TOKEN

Variables

Variables do not need to be updated for Pulse by the user.

UpdateqTestWithResults.js

Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.

Setup Pulse Rule

  1. Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.

  2. Enter the sample Program Code in the Pulse Actions.

    For the most up-to-date sample program code, view the Pulse Rules repository.

Constants

Anything that uses constants.X will need your own constants value.

  • constants.qTest_TOKEN

  • constants.ManagerURL

Variables

Variables do not need to be updated for Pulse by the user.