I need to call feature from another with passing array of jsons requests and call it several times for each json in array.
Example:
default payload.json:
{request.json}
arrayPayloads.json:
[{request.json},{request.json}]
When I calling another feature:
* def payload = read ('file: src/../arrayPayloads.json')
* def ex = call read ('..example.feature') payload
example.feature:
Background:
* def payload = karate.get('payload', read('file: src/../payload.json'))
Given path URL
And request karate.forEach(payload, )
When method post