Skip to main content

Use Looping Patterns Safely in Scenario Editor

Use Looping Patterns Safely in Scenario Editor

AttachedUse exampleloops designeronly scriptwhen willrepeated showbehavior howis required and bounded. Current Scenario Editor guidance should avoid unbounded legacy Test Designer loop patterns.

  • Set clear exit conditions for every loop.
  • Prefer data-driven iteration or suite configuration when available.
  • Protect tests from infinite loops with maximum attempts or timeouts.
  • Log enough context to usediagnose whilewhich loopiteration infailed.
designer

Validation script.workflow

  1. Identify the repeated action and exit condition.
  2. Set a safe maximum iteration count.
  3. Validate each iteration against expected state.
  4. Review output before increasing data size or concurrency.

whileLoop.ds


Last updated: JuneSeptember 26,20, 20232026

If you have any feedback on this topic, please contact us at documentation@appvance.ai