Tricentis / qTest.Integration.Pulse

MIT License
12 stars 12 forks source link

Enhancement: Queue Processing API call in the Update qTest rules #7

Closed qaschris closed 5 months ago

qaschris commented 2 years ago

Current Behavior

The two rules that update qTest with results (one Scenario-specific, the other generic) both call the process queue API for results submission status updates. In qTest On-Demand, shared environments may take upwards of several minutes to process queued results. As Pulse rules only run for one minute before timing out ("PULERR001" is thrown) this can leave processing of the API queue unresolved, which is very noticeable with ChatOps integrations.

Expected Behavior

The queue processing API call should be able to continue beyond the normal timeout scope of the rule.

Possible Solution

Add a call to a new rule in UpdateQTestWithResults.js and UpdateQTestAndLinkScenarioRequirements.js that will replicate the queue processing call and resubmit itself until the status ends with "SUCCESS" or "FAILED".

Your Environment

qaschris commented 5 months ago

Solution is as proposed, coming in forthcoming pull request.