DFrame
DFrame copied to clipboard
Duration/InfiniteLoop mode shows zero stats due to unreported batched results on cancellation
Description
When using Duration or InfiniteLoop command modes, execution statistics show zeros in the UI despite the workload executing successfully. This occurs because batched execution results are not reported when the execution is cancelled.
Impact
- Duration mode: Always shows zero or incomplete statistics because it always ends via cancellation
- InfiniteLoop mode: Same issue when stopped manually
- Request/Repeat modes: Work correctly because they complete the loop normally
Reproduction Steps
- Configure a workload with Duration mode (e.g., 10 seconds)
- Execute the workload
- Wait for timeout
- Observe that the execution summary shows zero requests or incomplete stats
Expected Behavior
All execution statistics collected before cancellation should be reported and visible in the UI.