Postman Tutorial - Run API Request multiple times with different Data Sets using external JSON file

Поделиться
HTML-код
  • Опубликовано: 12 авг 2020
  • Learn how to use external data files like CSV and JSON files to run API request multiple times with different data sets.
    Postman allows us to use external data files in Collection Runner to run API Requests in multiple iterations by using the data variables. We can select a JSON or CSV data file in Collection Runner. The data file will contain different variables with multiple values which in turn can be used within the API Requests or API Tests.
    Found this video interesting - Please Like and Share the video.
    Have Feedback/Questions - Leave a comment below.
    Subscribe our RUclips Channel - / @qascript
    Get access to 100 plus videos on different automation tools. Also never miss out on any new video posted on our channel.
    Other Video Playlists on our Channel:
    Selenium:
    • Selenium Webdriver Aut...
    Jenkins 2.0:
    • Jenkins 2.0 & DevOps: ...
    Maven:
    • Mastering Maven and Co...
    Blog Site: qascript.com
  • НаукаНаука

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

  • @MrSalFav
    @MrSalFav 2 года назад

    Very useful indeed. Thank you so much

    • @QASCRIPT
      @QASCRIPT  2 года назад

      You are welcome!

  • @user-mn1ty2ww2q
    @user-mn1ty2ww2q Год назад

    Very Detailed. Most of other videos doesn't shows that we need to add Variables in Header.

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

    Thanks a bunch. Yer a lifesaver.

  • @9ankurbishnoi
    @9ankurbishnoi 2 года назад

    Thank you so much for this video.. I was trying to find this particular solution from quite a long time now but was unable to find it.

    • @QASCRIPT
      @QASCRIPT  2 года назад

      Glad it was helpful

  • @delinraj4394
    @delinraj4394 2 года назад

    Thanks a lot bro

  • @mateussudbrack4006
    @mateussudbrack4006 Год назад

    currently fav vid. fucking lov u for this. just used it at my job

    • @QASCRIPT
      @QASCRIPT  Год назад

      Glad it was helpful for you.

  • @himanshumishra2053
    @himanshumishra2053 5 месяцев назад

    Great

  • @CyberConnect0116
    @CyberConnect0116 Год назад

    its really fruitfull but can you share one video by .csv how we put mupltiple values

    • @QASCRIPT
      @QASCRIPT  Год назад

      Sure. Will try to create it soon.

  • @harishkce1989
    @harishkce1989 Год назад

    Quick question : what if my collection has multiple request eg :5-10 request and if we upload a csv file as test data file ...is it applicable to use the test data value in all the multiple requests ? how does the iteration works ?

    • @QASCRIPT
      @QASCRIPT  Год назад

      Yes. If all your requests are using any values from the test data file then they will be iterated for all the rows of data.

  • @foodfedyumm
    @foodfedyumm Год назад

    If we have different api request within same collection with different data .In that case how csv file should be designed .

    • @QASCRIPT
      @QASCRIPT  Год назад

      Ideally your collection should contain similar requests which uses the same data. You should create another collection for different requests.

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

    when you run your test cases from collection runner,without selecting environmetn,your test should fail but they pass. mine failed and I selected weather api environment and they all passed. ???

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

      In this particular case I am not using any environment variables and hence the test passes. I am only passing data from an external file in collection runner.

  • @WeinsteinPlayfair
    @WeinsteinPlayfair 6 месяцев назад

    Runner is in the lower-right of the screen now, fwiw.

    • @QASCRIPT
      @QASCRIPT  6 месяцев назад

      Thanks for sharing