Part 3- POST Request | Rest API Testing using Robot Framework

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 41

  • @Runeblade484
    @Runeblade484 Рік тому +4

    I would like to add that since we now have to use post on session instead of just the post command, you need to change "data=${body}" to "json={body}" for it to work. The syntax has changed.

  • @shruthishru3553
    @shruthishru3553 3 роки тому +2

    Indeed , you're a great teacher . Thank you for the video, it was very helpful for beginners

  • @sharadmali1444
    @sharadmali1444 3 роки тому +1

    Hi Sir, Thanks for the video. I have one doubt here.
    In my case ${response.content} is a JSON response and I need to extract value from the specific 'key'.
    I tried to use line#25 and modified it as below(dictionary flow) -
    Attempt #1: ${respstrcontent}= convert to string ${response.content}
    ${responseidnum} get from dictionary ${respstrcontent} createdAt
    Attempt #2: ${respstrcontent} get from dictionary ${response.content} createdAt
    Looks like ${response.content} is not an dictionary. I can use the traditional way to get the data based on the index., but is it not possible to get the value based on the key? (the way ${response.headers} works)
    Kindly provide guidance and help.

  • @saranyaragav
    @saranyaragav Рік тому +1

    Clear explanation. Thank you

  • @kalblaization
    @kalblaization 4 роки тому +1

    Thanks for your great efforts, i had a question how can i post a json body that includes one of its values as int data type instead of string and how to validate it?

  • @vladv7019
    @vladv7019 5 років тому +1

    Thank you SO MUCH for that video!
    How we can take the value from the response, save it to variable and put it into the body of other requests, OR put it into the URL of other requests?? Please record a video for that!!!

  • @pneumaticdetach
    @pneumaticdetach 4 роки тому

    Thank you, this video was SO helpful!

  • @andikapebrianto373
    @andikapebrianto373 4 роки тому +1

    What kind of plugin are u using for Autocomplete code and styles?

    • @jjatuljain
      @jjatuljain 4 роки тому

      Even I would like to know this. Not working for me to

    • @MohanKumar-vj7bo
      @MohanKumar-vj7bo 4 роки тому +1

      Please try Intellibot on Pycharm

  • @vindhyapasupuleti9088
    @vindhyapasupuleti9088 3 роки тому

    I have tried but got the error "Expected even number of keys and values, got 3." means?

  • @vladv7019
    @vladv7019 5 років тому

    How to put the value into the nested object in the body of PUT/POST request?

  • @robinmehta5351
    @robinmehta5351 2 роки тому +1

    Thank you very much for the guidance

  • @vinisam9489
    @vinisam9489 3 місяці тому +1

    thanks raj

  • @shivambajpai4242
    @shivambajpai4242 5 років тому

    Hello Sir, can you help me, how I can avoid certificate validation for the https url while using the get request. In curl we basically use --insecure or -k parameter to void the certificate validation but i dont have any idea how can use the same in robotframework-request

  • @evelineroser7013
    @evelineroser7013 2 роки тому

    In get request I need to fetch one param from excel ..how to be done

  • @diptisahoo2644
    @diptisahoo2644 5 років тому +1

    How to pass complex body . If we have multiple array nd sub nodes in Json body, how to set body? If we want to print the result in excel or CSv file, wat s the command we will use for multiple data from input csv

    • @sdetpavan
      @sdetpavan  5 років тому +2

      I will upload another video on complex data soon. Plz stay tune.

    • @radhikasyam461
      @radhikasyam461 4 роки тому +1

      SDET I would also like to know how to send complex body

  • @AnjaliSingh-un9em
    @AnjaliSingh-un9em 3 роки тому

    waht if i dont have relative url
    then how to send the post request

  • @vinayarora1395
    @vinayarora1395 3 роки тому

    if i want to send value in array in dictionary can i do it for example id= ['3ac79c00','3ac79c01']

  • @rynohoorn4347
    @rynohoorn4347 3 роки тому +1

    Very helpful, thank you

  • @saikiranuade936
    @saikiranuade936 5 місяців тому

    Hi sir can u upload full series

  • @amalshaju5371
    @amalshaju5371 3 роки тому

    im trying this on my api and im getting a 405 error, can you help me?

  • @Ajaysharma-ri9xi
    @Ajaysharma-ri9xi 3 роки тому

    First of all u great sir, Sir can u help me with passing XML content in body instead of json ..

  • @meghanareddya
    @meghanareddya 4 роки тому

    Hello Pavan, Indeed your videos are very useful. How to send a complex data in post request using dictionary ? Thanks in advance.

    • @purushothamsale6246
      @purushothamsale6246 2 роки тому

      Hey Meghana,
      I am looking for the answer. Did you get any solution for your question?

  • @ramanavenkat-ie9fb
    @ramanavenkat-ie9fb Рік тому

    how to ignore ssl certification while in post?

  • @cibelless510
    @cibelless510 4 роки тому

    always fail, user already exist, how to create new user

  • @lifeisbeautifulpriti43
    @lifeisbeautifulpriti43 2 роки тому

    this api is not working

  • @rajeevkombathula
    @rajeevkombathula 2 роки тому

    Getting error with this API
    ConnectionError: HTTPConnectionPool(host='restapi.demoqa.com', port=80): Max retries exceeded with url: /customer/register (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

    • @pankajs8135
      @pankajs8135 2 роки тому

      I got this error when my network got disconnected.