Color Code Scenario Results in Jira
This 'Pulse Rule' sample sets the color coding in Scenario for pass/fail at the start of the script. It then logs into qTest Manager and uses the auto-test-logs endpoint to bulk upload test cases, Test Runs, and test logs to qTest Manager. The final step is that it attempts to link requirements (you must have requirements already mapped and integrated from Jira to qTest Manager) with the new test cases.
-
Passed=Green
-
Skipped=Yellow
-
Failed=Red
Please note, Tricentis does not include an exception for calls made by Pulse in our API Gateway controls due to the open-ended nature of qTest Pulse's design. When the servers are under a period of high load, you may receive rate limit error messages, or 429s, from the qTest API during Pulse's regular operation. This is to ensure API stability. If you have any questions, please contact support@tricentis.com.
Pulse Rules
UpdateScenarioWithResults.js
Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.
Setup Pulse Rule
-
Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.
-
Enter the sample Program Code in the Pulse Actions.
For the most up-to-date sample program code, view the Pulse Rules repository.
Pulse Constants
Anything that uses constants.X will need your own constants value.
-
constants.qTest_TOKEN
-
constants.SCENARIO_PROJECT_ID
Variables
None
UpdateqTestWithResults.js
Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.
Setup Pulse Rule
-
Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.
-
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.
Pulse Constants
Anything that uses constants.X will need your own constants value.
-
constants.qTest_TOKEN
-
constants.SCENARIO_PROJECT_ID
-
constants.ManagerURL
Variables
Pulse Rules
Variables do not need to be updated for Pulse by the user.