Cannot run newman on jenkins [newman :command not found]

Hi all,

Please, I am running into an issue running Newman in Jenkins. I am able to execute my API test on Linux box itself but not on Jenkins. I am getting this error when I try to execute via shell newman: command not found. I also set my environment variables on Jenkins using PATH = /usr/local/bin:$PATH newman -v

Image attached:

I really appreciate your help



Append newman local system foder path before you set configration


C:/Users/jkalaria/AppData/Roaming/npm/newman is my local system path than enter run and than your collcetions detail

so “Local newman system path” run “Collection detail”