Pre Request In Postman- How to use Pre Request In Collection-- Postman Tutorial For Beginner

Поделиться
HTML-код
  • Опубликовано: 22 июн 2020
  • In this video, I will guide you about what is Pre Request In Postman, why we need and how to use Pre Request In Postman at script level and at collection level as well.
    Official link-
    learning.postman.com/docs/pos....
    Postman Tutorials For Beginners
    • How To Download and In...
    All Playlist
    / mukeshotwani
    Connect with us:
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwani
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Twitter- / mukeshotwani
    Blog- learn-automation.com
  • НаукаНаука

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

  • @AiNendenTriana
    @AiNendenTriana 8 месяцев назад +1

    Thankyouuuuu, Mukesh!^^

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

    thanks alot Mukesh. Very helpful. thanks so much.

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

      Most welcome Baan keep learning.

  • @JitendraKumar-lr3vq
    @JitendraKumar-lr3vq 4 года назад +1

    thanks for the video and the concepts .

  • @LanNguyen-fz5jc
    @LanNguyen-fz5jc 3 года назад +1

    great video thanks a lot

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

    Hi Mukesh Your explanation is very good .and Thnks for your videos.
    I have a Question here .
    Can we run one POST request in another POST Request Pre-Request Script ?

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

    Nice video Mukesh..Amazing series it is..I have one doubt..Suppose in collection there are 3 reqs and for each req pre requisite is different. In this case if I want to set pre req seperately for each req at collection level how to do this? As in video you set common pre req for each req at collection level

  • @maheshshivramwar9936
    @maheshshivramwar9936 4 года назад +1

    Hi Mukesh Thanks for the Video.In Future if you please prepare a video on Top Interview questions for Postman

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

      Yes Mahesh once I am done with Series then will post interview question soon.

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

    Hi Mukesh, can you please tell, how we will manage if we have scenario
    I will create an application and next I want to move ahead with some action on the created application. My reference will application ID and few other key values -- In postman with help of Pre Request..

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

    I want to go deeper in this. I want to create a code what sends login and recieved token for the request

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

    Can we validate payload schema in pre request ? If they How ?

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

    Hi Mukesh,
    Thanks for the videos,
    I have one doubt, consider a Collection has 3 Requests. For this collection in the Collection level can we set the pre-requests for each request as separately?
    Rather then adding the pre-requests in request level.

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

      Yes, correct We have this option at collection level too.

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

    Try teach graphql with postman

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

    This is amazing vedio, Could please explain me, Let suppose we have collection, that collection takes multiple request and every request demand different data, who can we do this, because right now i have upload one json/.csv file for every request but i need to create a file so i can run multiple request in one time

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

      Hey Vibhore in collection you can pass data file (csv/json) then use that paramaters in request.

  • @AbhishekKumar-ub8co
    @AbhishekKumar-ub8co 3 месяца назад

    Giving example like printing sysout statement is equivalent to teaching someone to write hello-world and asking them now you can do everything.
    I was expecting that you would call getuser and use the user-id in the response to update/delete in subsequent requests.
    Example like this hold no practical value.

    • @Mukeshotwani
      @Mukeshotwani  3 месяца назад

      Please follow full playlist to get this details

    • @AbhishekKumar-ub8co
      @AbhishekKumar-ub8co 3 месяца назад

      @@Mukeshotwani I learnt it from other videos, appreciate your response.

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

    HI Mukesh, How do we get the response in ore-request script and add extra data and send it as request body to another requestAPI.
    I have a Josn reponse
    {
    Conatcts [
    "key1":"Value1",
    "Key2":"Value2",
    clients[
    {
    "key3":"Value3",
    "key4":"Value4",
    ..
    ..
    "key7":"Value7"
    }
    ]
    ]
    }
    And I want to add extra client to this response and send it as request body to another POST Request like below
    {
    Conatcts [
    "key1":"Value1",
    "Key2":"Value2",
    clients[
    {
    "key3":"Value3",
    "key4":"Value4",
    ..
    ..
    "key7":"Value7"
    },
    {
    "keyid":"Valueid",
    "keyaddress":"Valueaddress",
    ..
    ..
    "keypin":"Valuepin"
    }
    ]
    ]
    }
    Please help me how to do this

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

      Hi, Did you get any answer on your query, bcz same things in my mind.