Integrate Postman test scripts with Jenkins build server

后端 未结 3 1322
情书的邮戳
情书的邮戳 2021-02-09 08:21

I\'ve downloaded the POSTMAN Chrome app in order to test some Web APIs on my local dev environment.

In addition, I\'ve downloaded the Newman cmd-line utility for Postman

3条回答
  •  轮回少年
    2021-02-09 08:57

    Run command "which newman" in command prommpt. It will return something like - /c/Users/user1/AppData/Roaming/npm/newman

    Now use fully qualified path returned by above mentioned command in Jenkins windows batch command box -

    c:/Users/user1/AppData/Roaming/npm/newman -c demo.postman_collection.json

提交回复
热议问题