zerocode icon indicating copy to clipboard operation
zerocode copied to clipboard

Loop on step level

Open infoShare opened this issue 2 years ago • 1 comments

Hello, is there any plan to make "loop" work on a Step level ? It is working on scenario but even if field exists for the particular step in the model - functionality is not implemented.

Scenario level (working):

scenarioName: Example test
loop: 10
steps:
  - name: example_step
    url: infoshare.TestUtil
    operation: sum
    request:
      a: 1
      b: 2
    verify: 3

Step level (not working)

scenarioName: Example test
steps:
  - name: example_step
    url: infoshare.TestUtil
    loop: 10
    operation: sum
    request:
      a: 1
      b: 2
    verify: 3

infoShare avatar Nov 21 '23 13:11 infoShare

Instead of "loop", it would be better to provide "parameterized" block at the step level I think. This will also work like a loop for each entry of the parameters.

authorjapps avatar Feb 15 '24 23:02 authorjapps