newman
newman copied to clipboard
[feature request] new key to pass iteration data from specified step
I suggest to add ability to skip secified number of iterations from data file
Expected behaviour: I execute command
newman run -e env.json -d data.json test.json -n 1
later I need to execute the same test and skip passed iteration: the key --skip would provide ability to start test from specified step:
newman run -e env.json -d data.json test.json --skip 1
I would love to work on this feature. This issue is 3months old already
Implementation thoughts...
-s --skip command will be added to the list of commands in order to take in the step number,
the step number will be passed to the postman-runtime run
method because the best way to slice/skip the array is via the postman-runtime and this is where we have the runtime logic.
Implementation of this feature will affect both the postman-runtime & newman for it to work. Have been able to do this locally on my PC.
cc @shamasis @codenirvana. what's your take on this.
@m3dbedb I am moving forward with this feature request. I'm thinking of introducing an extra option rather than making changes to the postman-runtime library and simply mutating the iterationData.