DFrame icon indicating copy to clipboard operation
DFrame copied to clipboard

Duration/InfiniteLoop mode shows zero stats due to unreported batched results on cancellation

Open dombrovsky opened this issue 2 months ago • 0 comments

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

  1. Configure a workload with Duration mode (e.g., 10 seconds)
  2. Execute the workload
  3. Wait for timeout
  4. 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.

dombrovsky avatar Nov 27 '25 05:11 dombrovsky