Create a new TestElement that runs after PostProcessors and Assertions
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
### Use case
Hello there,
in our JMX we use a PostProcessor to persist some metrics, if an Sample failed.
To be applied on each Sampler, we put it in the jmeterTestPlan.

When an Assertion is added to a specific Sampler, and it failes, the PostProcessor does persist this error. The reason is, JMeter executes PostProcessors before Assertions.
Since the existing execution order in JMeter should not be touched (possible impacts for existing TestPlans), it would be great to have a new Object, that runs after all Assertions were evaluated.
### Possible solution
Add a new PostProcessor that is executed in "the final stage" of the LiveCycle of a Sampler.
My proposal for a name would be "FinalPostProcessor".
### Possible workarounds
_No response_
### JMeter Version
5.6.2
### Java Version
openjdk version "17.0.7" 2023-04-18 LTS
### OS Version
Microsoft Windows [Version 10.0.19045.3155]
Contributor guide
Assessment
This issue has not been assessed yet.