Rest Assured API Testing Tutorial | Serialization and Deserialization in RestAssured | Day 17

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 27

  • @HealthAndWealthCC
    @HealthAndWealthCC 2 ปีที่แล้ว +1

    Thanks a lot Pramod. I learned watching your video. For those who are getting wrong result in 25:20, Please print Arrays.toString(allBlogs) which get you all elements in array in String rather than printing array Address

  • @bindunagaraj123
    @bindunagaraj123 4 ปีที่แล้ว

    very nicely explained. It cleared my doubts about the serialization concept. Good Job Pramod. Thank you for sharing ur knowledge. This is the best channel about API Testing that I have ever come across.

  • @SineQuaNon1
    @SineQuaNon1 2 ปีที่แล้ว

    thanks man, you saved and made my day.

  • @Cool94_4u
    @Cool94_4u 4 ปีที่แล้ว

    Good work bro... appreciate ur efforts...

  • @8956311152
    @8956311152 3 ปีที่แล้ว +1

    You explained very well!! One quick question- When we use JSONPath and when we use Serialization and Deserialization?

    • @alim241081
      @alim241081 2 ปีที่แล้ว

      jab payload bht big hai then we should use pojo.

  • @prasannapadmagirwar6233
    @prasannapadmagirwar6233 9 หลายเดือนก่อน

    25:09 here you converted the GET response to an array of type BlogPost but it didn't work since you tried printing the object of that array.. So, insted of getting the desired result you ended up printing the address of the object of that array..

  • @amarpc3532
    @amarpc3532 2 ปีที่แล้ว +1

    Can you please explain me i have lenghy json code but i have to convert java object but i am getting confusions how to do

    • @TheTestingAcademy
      @TheTestingAcademy  2 ปีที่แล้ว +1

      Email at contact@thetestingacademy.com

    • @amarpc3532
      @amarpc3532 2 ปีที่แล้ว

      @@TheTestingAcademy can you tell me how to do the file is not delivering through mail

    • @amarpc3532
      @amarpc3532 2 ปีที่แล้ว

      @@TheTestingAcademy can you send again mail id

  • @blablagswjsvsns134
    @blablagswjsvsns134 2 ปีที่แล้ว

    @The Testing Academy What if I change the user variable name ? how basically it map internally ?

  • @gayl2960
    @gayl2960 4 ปีที่แล้ว +1

    Pramod you set data for one person right? what if i need to set data for 100 people?should i set data 300 times??? Can you plzz reply me ,plzzzzzz?

    • @TheTestingAcademy
      @TheTestingAcademy  4 ปีที่แล้ว

      You can se loop to do that

    • @gayl2960
      @gayl2960 4 ปีที่แล้ว +2

      @@TheTestingAcademy it would be great if ypu also cover it in your videos.it would be good for those like me who are just beginners.i liked ur videos so useful .Million times thanks Pramod!👍

    • @bindunagaraj123
      @bindunagaraj123 4 ปีที่แล้ว

      To set data Obviously we need to send data.So u have to write data in one or the other way , but if u have any file which has all data u need to add , then use excel reader/or anything with respect to ur file and in setter method send them using loop

    • @gayl2960
      @gayl2960 3 ปีที่แล้ว

      @@bindunagaraj123 can u show me in practise plzzz if u havw anything like that plzzz.

  • @gayl2960
    @gayl2960 4 ปีที่แล้ว

    After deserializing all blockposts how do you validate them with expected data???

  • @ivanstrelka3448
    @ivanstrelka3448 3 ปีที่แล้ว

    it would be great to give a link to the github repository. Thanks

  • @sudarsantenneti
    @sudarsantenneti 4 ปีที่แล้ว +1

    Bro, I need some support on creating a framework using RestAssured, will you able to provide? Can I have your number so I can speak to you or any other sources to support me..... thanks
    Does RestAssured support binary files?

  • @dewanganskitchen1117
    @dewanganskitchen1117 2 ปีที่แล้ว

    I have payload
    { "authorized users":
    [ {
    " first name" :" john",
    "last name":" kesly"
    } ]
    }
    Map arr=new LinkedHashMap();
    arr.put("first name","john");
    arr.put("last name","kesly");
    Map body=new LinkedHashMap();
    body.put("authorized users",arr);
    given().contentType("application/json").body(body);
    When I hit this I am getting error
    {
    "reason": Invalid type: object (expected array)"
    }
    How to resolve this issue?
    In this case how to convert map into array ?
    How to write a code for this ?
    Can you please help me on this ?