Part 18(POSTMAN): How to fix 'newman is not recognized' error || Could not find 'htmlextra' reporter

preview_player
Показать описание

If you have installed Jenkins via installer and you are getting 'newman' is not recognized as internal or external command error OR Could not find "htmlextra" reporter, follow below mentioned 3 points:-
1: Add Node JS plugin
2: Go to Manage Jenkins -- Global Tool Configuration -- NodeJS section(Click on add NodeJS and add name as NodeJS and add command "newman newman-reporter-htmlextra" (in Global npm packages to install section)
3: Go to Job -- Configure -- Build Environment (Select 'Provide Node & NPM bin and select NodeJS)

Note: If we are running Jenkins via .war file, then no need to install any plugins and node packages inside Jenkins, Jenkins will recognize all the plugins and packages automatically (please note: those packages must have been installed in ur system via command prompt)

Old Batch Command:
cd C:\Users\Admin\AppData\Roaming\npm\node_modules\newman\bin

Please watch previous tutorials, in case if you have missed them, and subscribe to this channel.

POSTMAN Tutorial Series
**********************************************

Selenium 4 Features
**********************************************

API Testing using by Rest-assured library
**********************************************

Extent Report
**********************************************

Builder Pattern
**********************************************

Рекомендации по теме
Комментарии
Автор

Hi Sachin .. thank you for making this video... I have been struggling to fix this issue from almost a month but today ur video just helped me to fix the "newman not recognized" in jenkins issue.. Further after resolving this issue i have encountered one more issue related unicode character issue in ouput console and all the chracters are garbled.. Can you kindly help me in fixing unicode character issue in jenkins???
I added below environament variable in Jenkins -> Manage Jenkins -> Configure System ->Global properties and resterted the jenkins and rerun the script but issue still exist
Name:JAVA_TOOL_OPTIONS
Value:-Dfile.encoding=UTF-8

Do you have any idea how to resolve unicode charecater issue in jenkins??
Note:I have installed Jenkins via installer

Thanks,
Satish

satable
Автор

I have been looking for this error for almost an hour and finally saw this video. Such a Great Explanation from you.
Its very clear and to the point, Thanks for helping.

gokulanand
Автор

Well done mate, I killed 2 hours before your solution saved me!😀

kryoleks
Автор

Sachin, thank you so much for making video on this issue.

amitrazdan
Автор

hey man you are great, you solved my problem, god bless you

kvikram-cc
Автор

Thanks a lot. I was stuck for 1 full day in this issue. Your video helped a lot.

Abinash
Автор

you are a super man bro, you saved me from banging my head from hours

muhammadumarzaman
Автор

Thank This is the only error I got stucked....Your video really helped me.

kajalwasate
Автор

Thank you! I was lost with this error. I really appreciate it. Clear and well explained. You Rock!!!

lilianamilano
Автор

Very helpful informative video. Keep up the good work and lastly thanks a lot.

akashdebnath
Автор

Thanks a lot brother it's really helped me...Hope you make many more this kind of vedeos ahead..

Concerned_Indianz
Автор

thank you, this helped me for the quick fix!!

dreamplay
Автор

Thank You sir for this video.
Same issue I am facing from command prompt. In that case what steps should I follow?

raginigupta
Автор

I am getting this error in jenkins ensure that the reporter is installed in the same directory as newman

vamsik
Автор

Sir, can you please help me in solving the same error from Azure pipeline

karthikeyanm
Автор

How to resolve Newman command not found error

RaviShankar-xdbk