apache / apache/jmeter

Transaction Controller : OR aggregation of statuses, to ease "Retry request N times on fail" test implementation

Open
#4,930 0 comments 0 reactions 0 assignees View on GitHub
enhancement os: All P3
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**avam0nst3r** ([Bug 62941](https://bz.apache.org/bugzilla//show_bug.cgi?id=62941&redirect=false)):
Transaction Controller enhancement - make user specify transaction status aggregation rules from child sampler's statuses.

Currently transaction is successful when ALL child samplers are successful. (AND rule)

I suggest to add the "OR aggregation" checkbox to Transaction Controller UI, meaning that transaction is successful when there is at least one successful child sampler.
This checkbox should be unchecked by default.

This will help to implement the "http retry" much easier that it is possible today.
Check this Frankenstein for example (not working in Jmeter5 btw): https://www.blazemeter.com/blog/how-to-count-retries-as-a-single-request-in-jmeter

What I'm trying to achieve, is having these "OR-aggregated" transactions in Jmeter reports as successful, when a sequence of failed child samplers requests ended up with successful one. With transaction time still being the total of all child samplers time, as it is now. And I still want to have proper success/fail statuses for child samplers within the transaction.

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.