ovh/venom

(enhancement) extend range to cover a test case with multiple steps

ivan-velasco opened this issue · 2 comments

Currently range is only supported at the individual step level only

Proposal: If present at steps level then each step will be part of range loop

  - name: read data file
    steps:
    - type: readfile
      path: testdata/test.json
      vars: 
        data:
          from: result.contentjson

  - name: run crud operations
    range: '{{.data}}'
    steps:
    - type: http
      method: GET
    - type: http
      method: PATCH
    - type: http
      method: GET

@ivan-velasco if you use user executor, shouldn't be possible to have the same behavior?

@yesnault yes that is correct, that has been my final workaround for this feature request.