[Feature Request] Continuation criteria and ok/fail counters for repeat on Interval
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
My case is that I need to make long running stress testing against JSON API and know how reliably or long it works without errors or how often errors happen. PASS or FAIL -criteria could be detected from one key-value pair in the response and of course from completely missing response within specified timeout.
I would like to use 'Repeat on Interval' as a base, but to parameterize it additionally with simple JSON key-value criteria of response i.e. key path (dot notation): "data.status", expected value: "ok" and then tell with checkbox "[x] continue on error", whether to continue even when the expected (key+) value was not found in response. It would stop to first error unless [x] continue on error was selected.
Then additionally, instead of animation that is now shown when request is sent, it would also display the sequence number of current request and the number of "PASS" responses and "FAIL" responses.
There are endless possibilities to develop this functionality further but I believe even this kind of lightweight and straightforward extension would already add a lot of usability value to the Repeat on Interval function.
Contributor guide
Research direction
Start by reading the existing “Repeat on Interval” behavior in the API client and how responses and timeouts are currently handled. Define how JSON key paths, expected values, missing responses, continuation on error, request sequence numbers, and PASS/FAIL totals should work, then verify the behavior with long-running JSON API stress requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100