Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
I am trying to execute my collection from newman (I also have the same configured in Jenkins).
AuthToken is not being sent to the request when running from newman and it works in POSTMAN.
Collection - Logout
1 Request - Login, getting the authcode and saving it as env variable
2 Request - Generate Token - Saving the generated token as env variable.
3 Request - Logout - using the authcode which is generated in the 2nd request (setting this headers and passing the same in script as well)
Since I am running the collection from newman, I am downloading the JSONs and executing the collection.
Problem: The Logout request is not taking the updated authtoken from environment variable.
Can you please help?