newman
newman copied to clipboard
[Feature Request] Newman - Dynamic Iteration with Data File
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.
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.
@adityaofficial10 could you please help us with the opened PR https://github.com/postmanlabs/newman/pull/2652 🙏