venom icon indicating copy to clipboard operation
venom copied to clipboard

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

Open ivan-velasco opened this issue 1 year ago • 0 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 avatar Dec 15 '23 01:12 ivan-velasco