42. Share Data From One API To Another API In Rest Assured

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

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

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

    Amod, Also much impressed when you say the declaration of Constructor so that no one create objects and also when you create interface, you said it is Public, static and final - You are clearly mentioning the properties of each concepts and the advantages too. Well done and Please continue this momentum with indepth concepts of Java. Thanks !

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

    You explain the topic in a very easy way. Thanks for all the hard work and for helping the testing community.

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

    Awesome training, Amod - Tons of Thanks to You. I have impressed your training only because you have driven this course through Java concepts which will be there till this world is Alive !
    Tools will not sustain for long term. Thank You again !

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

    You're the best in restassurd 👏👏

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

    "tools may outdated, but the core programming language is always the same, so be good at the language" --> this is 100 percent true.

  • @arunmohan1950
    @arunmohan1950 3 ปีที่แล้ว +2

    Awesome Amod. Data store as Map I learned today. Thanks a lot.

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

    Hi Amod,
    In your future video will u cover API automation framework?

  • @automationtestingempire
    @automationtestingempire 3 ปีที่แล้ว +2

    Hi Amod,
    Could you please create end to end framework using Restassured.

  • @ShilpaDodla
    @ShilpaDodla ปีที่แล้ว

    Declaring booking id as static will not create any problem when you run in parallel ?

  • @nageenashaik8166
    @nageenashaik8166 ปีที่แล้ว

    Tq for the video

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

    Sir,
    Excellent teaching ...please can you uploads on basic auth, auth 0.1 and auth 2.0

  • @bharathkoneru4008
    @bharathkoneru4008 ปีที่แล้ว

    Hi Amod, these approaches are cool & loved them specially the 4th one.
    I have a doubt regarding limitation of 3rd approach, DataStore class - here we are storing all the common data that we want to share across other classes.
    //My understanding on limitation of 3rd approach is,//
    For the DATA to be SHARED across other classes, FIRST we need to CREATE the VARIABLES & store the DATA. then only we can use them in other classes. Right?
    This means, that there is a dependency on creation of variables first in order to share the data to other classes? Right Amod?

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

    Hi, thank you for your detailed explaination. Can we use config.properties file instead of DataStore class? Would that be good practice or would it become messy?

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

      You can use but Reading and writing in properties file will be headache. You can also use Map so store any value.

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

    what if an object or list of arrays comes in response? how can I store and access in next API calls?

  • @Febiustube
    @Febiustube ปีที่แล้ว

    It's not a good idea to have dependency across tests. What if test#1 failed or was removed or smth?

    • @RetargetCommon
      @RetargetCommon  ปีที่แล้ว

      Yes it is not good practice of not creating dependent tests but if we create we need to have some handling of negative scenarios in dependent tests.

  • @dsyoutube-q8w
    @dsyoutube-q8w 3 ปีที่แล้ว

    Will it be more memory efficient to use datastore as a singleton instead of using it as a static class?

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

      I am restricting creation of object of that data store class. You can use the same thing using singleton class as well.

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

    Subscribed

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

    need help with multiple auth

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

    int id =(int) DataStoreMap.getValue("bookingid"); --- got class cost exception
    worked with below :
    Object id = DataStoreMap.getValue("bookingid");

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

      Check the type of bookingid you are using to store value. Casting to Object is not solution.

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

    But how to pass first name , could you please explain that one also