24. Introduction to Json Path in Rest Assured

Поділитися
Вставка
  • Опубліковано 14 бер 2021
  • JsonPath is an expression to navigate to a node in JSON document. It is very much needed to fetch values from a JSON to validate JSON response in API Testing. I have covered the basics of JsonPath in this video.
    GIT Repo - bitbucket.org/makeseleniumeas...
    If you do not like my contents please share your feedback so that I can improve myself.
    If you like my contents then please like, subscribe and share.
    Thanks
    Amod

КОМЕНТАРІ • 15

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

    Hi Amod, I want to learn java basics from you once again. Such a nice explanation.

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

      Planning to create playlists of Java and Selenium after this.

    • @monicagoyal8225
      @monicagoyal8225 Рік тому

      @@RetargetCommon Java basics I know and it made learning Rest Assured easier but the way you explain concepts, I am feeling like learning it again.

  • @swethachandra3522
    @swethachandra3522 Рік тому

    Thanks for sharing your knowledge Amod. I think this is best API tutorial with lot of tips.

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

    The way you try to cover small points is appreciable. Amod please start your online batches.

    • @RetargetCommon
      @RetargetCommon  3 роки тому +5

      Thanks Arun. I have no plan to start my batches and every concept will be covered here like my blog. I just need support from you people.

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

      @@RetargetCommon That is so nice of you Amod.

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

    Thanks a lot Amod.If I have a dynamic json response ie in some cases that particular json element will display in other cases not,how can I handle it with JsonPath?

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

      Hi, I will cover that concept in next video.

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

    Please explain when we can get class cast exception in above case?

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

      Noted. In next video I will cover that first. But just to give you an idea, class cast exception occurs when we are trying to cast a type to another type which is not proper. For example:- If we have a string “amod” and try to cast it to Integer, it will throw ClassCastException. It is a run time exception.

  • @Prashant_godbole
    @Prashant_godbole Рік тому

    Can you share this ppt?

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

    How can I use Json path when my response Json has different structure- Json Array of objects, not Usual Json objects
    Example - my response Json looks like below
    [
    {
    “Name” : “Rohit”,
    “Code” : “Singapore”
    },
    {
    “Name” : “Rahul”,
    “Code” : “India”
    }
    ]

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

      Wait for upcoming videos. It will be covered in detail.

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

      @@RetargetCommon Thanks for your response 😊 Awaiting for the upcoming videos !