We are building an automation cycle and we use Newman. We use an iteration file to pass the variables to Newman.run() for each row in the aforementioned file. At a certain point, each run will open a browser. We want that browser to be opened only once (to save time) and we save its state (isOpened) in a variable that we access. Now, in Postman’s Runner, this works. But it looks like that after each iteration of newman.run(), all variables are cleared. Is there a way for us to tell to Newman to save the variables from the last iteration?
Thank you in advance.