Newman: [Feature Request] Newman - Dynamic Iteration with Data File

Created on 17 Nov 2020  路  4Comments  路  Source: postmanlabs/newman

Hey guys,

I have a question regarding newman usage with CSV Data files.

We have about 150 tests within a single CSV file, however, we would like to call them dynamically via parameter. Meaning if I want to initiate test iteration 149, I would have to make 148 iteartions prior to that test. This is causing us to have multiple CSV files whic his quite unnecessary.

Example of CSV Data file:

url, user_id, type, amount,
{{baseUrl}}, 1, 0, 100
{{baseUrl}}, 2, 1, 200
{{baseUrl}}, 2, 1, 300

Each row in CSV is an individual test and counts as an iteration. How could we initiate tests dyniamically i.e execute third test iteration without having to execute first and second test iteration, or set iteration from - to.

Any help on this is highly appreciated!

Thanks.

feature request

All 4 comments

Really a good feature , i also feel this hectic i have to create new temp csv to test a sngle line

@Xdomen
I'm moving forward with this feature request.

@preyunk
I was working with this and had my draft ready.
You should have informed me about your work atleast.
Anyways, I have the tests ready.
So we can collaborate I guess.

Yeah sure!
Sorry for the inconvenience, though.

Was this page helpful?
0 / 5 - 0 ratings