API Automation with Newman and Jenkins || Postman Newman || Postman Jenkins integration

Поделиться
HTML-код
  • Опубликовано: 28 фев 2019
  • #testing #QA #techieqa #dharmaqa #apitesting #jenkins
    Learn to do API automation testing with Newman and Jenkins Support me if you love it
    www.buymeacoffee.com/YTtechieqa
    ~-~~-~~~-~~-~
    Please watch: "TechieQA"
    • Mastering API Testing:...
    ~-~~-~~~-~~-~

Комментарии • 31

  • @BusinessIdeas-
    @BusinessIdeas- 3 года назад +3

    For those you looking for path
    export PATH=/sbin:/usr/sbin:/usr/bin:/usr/local/bin

  • @VineetKumar-eb3lv
    @VineetKumar-eb3lv 4 года назад

    Thank You

  • @rohanytc
    @rohanytc 3 года назад

    Hi, I have an api request which is configured to fetch values from CSV file and it runs well using collection runner but when I run the api individually by clicking on send button it shows an error because the values from CSV file are not accessible. Is there a way to solve this problem?

  • @vijaykumar-ut1ze
    @vijaykumar-ut1ze 4 года назад

    How to run a specific request in the collection with multiple set of data ..normally we use newman run "collection1" - e " envjson" . But i need to run a 3rd request in the collection with different data while running the entire collection.

  • @ashwajitthukral9101
    @ashwajitthukral9101 4 года назад

    Thanks a lot !
    How to run multiple collections through Newman and Jenkins. Some Parameter configuration you said, you will create another video. If its there then pls let me know. Thanks again!

  • @behumanf1rst
    @behumanf1rst 4 года назад

    Awesome, I was searching for the same from past one week.
    Do you have anything with Ansible?

  • @SHOVALSO
    @SHOVALSO 4 года назад

    Can you run and get the environment and the globals not from a file but as a link?
    if so can you show how?

  • @karavind1984
    @karavind1984 4 года назад

    CN u tell me how the pathe and where it is exported

  • @nagarjunapunyala7391
    @nagarjunapunyala7391 4 года назад

    How to export the responses to csv ??

  • @LahiruNishan
    @LahiruNishan 5 лет назад

    i'm getting this error after the build
    "FATAL: Failed to rename C:\Program Files (x86)\Jenkins\tools\jenkins.plugins.nodejs.tools.NodeJSInstallation
    ecent_node
    ode-v10.15.3-win-x86 to C:\Program Files (x86)\Jenkins\tools\jenkins.plugins.nodejs.tools.NodeJSInstallation
    ecent_node
    ode-v10.15.3-win-x86.__rename
    java.io.IOException: Failed to rename C:\Program Files "
    how to fix this issue?

    • @techieqa
      @techieqa  5 лет назад

      Issue with Jenkins . You may be need to reinstall nodejs plugin

  • @vamshireddy892
    @vamshireddy892 4 года назад

    'newman' is not recognized as an internal or external command,
    operable program or batch file.
    What would be the issue

    • @techieqa
      @techieqa  4 года назад

      Install newman globally with -g tag

    • @BusinessIdeas-
      @BusinessIdeas- 3 года назад

      @@techieqa Still the issue exists

  • @romaricpoton8529
    @romaricpoton8529 5 лет назад

    If a have windows OS how can i do for PATH? Please help me...

    • @techieqa
      @techieqa  5 лет назад

      Use relative path . Use // everywhere

  • @sharmak2746
    @sharmak2746 3 года назад

    Is it possible to trigger Jenkins job by pulling code(postman collection from git) and run the collection in newman docker. Can you please make a video if possible. This helps a lot in CI CD in many projects

    • @techieqa
      @techieqa  3 года назад +1

      Yes . Its possible

    • @sharmak2746
      @sharmak2746 3 года назад

      @@techieqa would be great if you can make a video if possible and this helps the community.

    • @techieqa
      @techieqa  3 года назад +1

      Sure. Will upload soon.

    • @sharmak2746
      @sharmak2746 3 года назад

      @@techieqa thanks a lot

    • @sharmak2746
      @sharmak2746 3 года назад

      @Srireddy Anandbabu email sending is optional and you can do that with Jenkins with post deployment options. But, I am wondering how to configure the console output to allure or html report that displays after execution. Am exploring this option, if I get any I will update too

  • @mamtajeena5186
    @mamtajeena5186 4 года назад

    Thanks for so elaborative video but I wanted to know Which Path is this, npm bin path or some other path?

    • @techieqa
      @techieqa  4 года назад

      The path of api collection where you have exported

    • @mamtajeena5186
      @mamtajeena5186 4 года назад

      TechieQA but aren’t we running our api collection directly through link

    • @techieqa
      @techieqa  4 года назад

      Which path you are talking about

    • @mamtajeena5186
      @mamtajeena5186 4 года назад

      @@techieqa export PATH = /sbin:/usr/sbin:/usr/bin:/usr/local/bin
      I have nodejs, newman all installed and on running collection via cmd, it works fine. But when running the same collection via Jenkins I'm getting error "'newman' is not recognized as an internal or external command,
      operable program or batch file."
      please help.

    • @rajatshandilya1203
      @rajatshandilya1203 3 года назад

      @@mamtajeena5186 Did you resolve the issue ? I am getting same error.

  • @andressafernandaidalgodefa248
    @andressafernandaidalgodefa248 4 года назад

    enable captions