Hi @taehoshino,
Thanks for the warm welcoming
I successfully chain the request in postman via pm.environment.set, however, newman is not reading the newly added value in environment. the value from the first request will be put in the body of the second request, and this until now failed when I use newman.
Do you have an example of newman scripts you can share that has this success?
Sorry guys, I just realized that when I export the environment to .json the current values will not be exported with it. The reason for the failures is I had the values of the environment variables in the Current column, so either I had to put them in the initial column or I have to write them manually in .json files.
Hi guys, I am trying to find solution for chaining request in Newman and no luck.
If I want to run whole collection from Newman, @tarekalba solution with manully copying the the values is impossible.
I cannot understand why there is no option to set initial value ex. using js like: pm.environment.set("variable_key", "initial_value","current_value");