Summary: | RunOnce inside Runtime-Controller runs more than once | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Matthias Kerkhoff <make> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | Nightly (Please specify date) | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Matthias Kerkhoff
2005-02-14 14:28:21 UTC
Can you perhaps swap the Run Once and the Runtime Controllers around? Did some tests, and found various problems: - OnceOnly did not set isdone, so could be run up again - RunTime did not reset start time for later calls, and would cause stack overflow if its children had all finished. Fixes applied to 2.0 branch Unfortunately the fix to the Once Only controller changed its behaviour in other situations (*), so it has had to be backed out. This means that the Once Only Controller does not current work properly when present as the child of the RunTime Controller, so re-opening the call. However, the Run-Time Controller does seem to work correctly as the child of the Once Only Controller, so that may help in your testing. However, note that the RunTime Controller will continue to run until the time limit has been reached, so it acts as the minimum run-time, rather than the maximum. (*) The OnceOnly Controller can run more than once in a test, if it is the child of a loop controller that is itself run more than once - this is documented in the User Manual Fix checked into branch 2.0 so RunTime now behaves like Loop Controller - i.e. OnceOnly children are run once per loop. Also fixed calculation of run-time for subsequent loops. [Leaving call open for time being] This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1509 |