13 - Top 10 REST-Assured API Automation Interview Questions And Answers.

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

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

  • @rakeshhansalia
    @rakeshhansalia 2 ปีที่แล้ว +26

    1. What is Rest-Assured and why it is used?
    2. What is URI, endpoint, and query parameter?
    3. What are the static imports in Rest Assured and why do we need it?
    4. What are the given, when, then methods in Rest-assured?
    5. What are the different authentication methods in Rest-Assured?
    6. How to check Response time for an API?
    7. How to send a complex payload for a post API using POJO classes?
    8. How to log requests and responses for a post API?
    9. How to validate the response of a POST API?
    10. How to verify cookie, header & content type in API response?

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

    This is the only video giving interview questions for rest assured. Rest all give questions for api only.
    I watched this yesterday, many questions were asked in my interview yesterday. Glad I could answer them perfectly.
    Thanks from the heart! God bless you..

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

      I am glad to hear that, Thank you!! Keep learning and sharing with your friends 😊

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

      Only this type are question or they asked different questions?

    • @_tanugupta
      @_tanugupta 7 หลายเดือนก่อน

      Yes

    • @pratibhagkadam
      @pratibhagkadam 29 วันที่ผ่านมา

      True, I am a qa engineer for 9 years. This video is just perfect

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

    Your content is really commendable. Anyone can clear the interview or revise the total concept in less time. Great initiative. Thank you

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

    One of the best API session/questionnaire, i came across.

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

    You have been absolutely clear crisp and amazing. GBU

  • @PoojaShendge-r9b
    @PoojaShendge-r9b 2 หลายเดือนก่อน

    Hi Subhashish,
    This is the best video to refer Rest Assured API Automation.
    Thank you for the detailed explanation, It's very useful! If possible, could you provide PDFs for each topic related to manual testing and automation? Having these would make it easier to review concepts before interviews.
    Once again Thank you!🙂

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

    Thank you so much !! explaining each question along with hands-on was made it easier to understand. Thanks!

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

    Your way of explaining stuff is very helpful 😊thank you sir

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

    at execution at 34:56 screen goes green happened almost every time at the peak of cracking the concept .

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

      Thank you for the feedback, Yes, it was a green screen issue which I have resolved in new videos.

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

    Too good. very very useful. Thanks so much for sharing

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

    Very nice video in short time you explained everything in very simple words, just one thing in b/w the video is blank or paused or blank green screen sometimes, not sure the issue is only with me or everyone

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

    One question :while validating response we can use following 3 ways ryt ?
    1. response.getBody(). Path(details.email)
    2.response.JsonPath.get("details.email") ;
    3.then.body("details.emailId", equal to("") ;
    Correct me if I am wrong at some place.
    And also let me know is this sufficient to know only these 3 ways for interview.

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

      Yes, you are correct, Once you have extracted the response then you can validate it and these are sufficient for the interview.
      Response getResponse= …
      getResponse.body("details.email", equalTo(“abc@gmail.com”));
      Assert.assertEquals(getResponse.getBody().path(“details.email”), “abc@gmail.com”);
      Assert.assertEquals(getResponse.jsonPath().get("details.emailId"), “abc@gmail.com");

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

      @@SoftwareTestingAndAutomation thanks a tone 😊

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

      I am facing error can you help me ..java net connection ..while run the same code in Windows 10 machine ..
      Is there any email id where i can send you screenshot .
      Please help

  • @svetlanamazhaykina6918
    @svetlanamazhaykina6918 11 หลายเดือนก่อน

    Thanks for your work! Well done!

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

    Thanks a lot.

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

    It's help to many of them keep doing like this series 👍👍

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

      Thank you 😊

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

      @@SoftwareTestingAndAutomation thanks for reply bro ..can you make a video on one simple project on API Testing 👍

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

      I hope you have been through the complete API play list link, if not here is the link - bit.ly/2BY0vHu , Yes I am planning for a API project with complete framework structure, It will come soon :-)

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

      @@SoftwareTestingAndAutomation hoo great work ...eagarly waiting I am the first 😀👍

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

    Thank you so much! ❤

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

    Best API video ❤❤

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

    Thank you.. Nicely explained.

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

    Awesome explanation.. Thanks!

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

    Awesome video, you have cleared many of my doubts

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

    Thank you very good explanation.

  • @shoaibkolkata
    @shoaibkolkata 3 หลายเดือนก่อน

    Please check why screen becomes green at 34:14 and it was there for sometime? Other than this it was a very useful video

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

    Really very helpful and handy stuff.. 💯💯✔️✔️

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

    hi Shubhashi, can you please add the POJO part again, its not visible. The screen went green at the end of the explanation for the POJO related question. Thanks.

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

    Very well explained. Thankyou

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

    Sir Thanks for your video . Video is not visible on 35:00 Please correct it

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

      Thank you for the feedback, It was a green screen issue which I have resolved in new videos.

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

      @@SoftwareTestingAndAutomation Sir Is it possible to view same video fully without green screen

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

      @@rabitminder Unfortunately I can not edit the video which is uploaded. But if you want to understand same concept you can refer th-cam.com/video/UqYf_a4auGM/w-d-xo.html Also refer the complete playlist.

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

      @@SoftwareTestingAndAutomation Thanks

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

      sir why we are using POJO classes which one is more effective

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

    Very well explained

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

    Can you please tell how to use these authentication methods in RestAssured with TestNG framework ?I am not using BDD.Kindly reply

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

      Here we have used RestAssured with TestNG only. Please go through the complete playlist ( bit.ly/2BY0vHu ) for more understanding. If you are looking for Oauth-2.0 here is the video link th-cam.com/video/Fs8fsrngI3Q/w-d-xo.html

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

      @@SoftwareTestingAndAutomation Thanks! I will go through it.

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

    Thanks a lot!!! it was an amazing explanation

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

    I am facing error can you help me ..java net connection ..while run the same code in Windows 10 machine ..
    Is there any email id where i can send you screenshot .
    Please help

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

      Let me know in details about your issue. You can email me on subhasishhelpinghand@gmail.com

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

      @@SoftwareTestingAndAutomation emailed you ..its very basic program related to api
      And its throwing error .
      But selenium automation is working fine in same eclipse .
      Only problem in api automation

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

    How to validate response when we are passing data dynamically through faker library, then how can we assert ?

  • @RodrigoCoelho.Oficial
    @RodrigoCoelho.Oficial 3 ปีที่แล้ว +1

    How can I send new values in ".body(ep)" ?

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

      check these links. It may help you th-cam.com/video/7LIeP16Ki9g/w-d-xo.html th-cam.com/video/9yD5tSFuod8/w-d-xo.html and th-cam.com/video/UqYf_a4auGM/w-d-xo.html

  • @_tanugupta
    @_tanugupta 7 หลายเดือนก่อน

    This was so good❤

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

    Thank you sir👏

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

    Very useful

  • @kaz-ittraininghub9388
    @kaz-ittraininghub9388 4 ปีที่แล้ว +1

    I enjoyed the video, very informative used easy language which authenticate best video ever.

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

    Good video 👍

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

    very informative video.

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

    Thank you so much for the wonderful explanation with the great detailing....👏

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

    How we will come to know that import relevant methods needs

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

    Can you tell how to put assert on date value in JSON response?

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

      Try something like this and see if it works ?
      body("order.createdDate", everyItem(greaterThanOrEqualTo(LocalDate.now().minusMonths(1).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")))))

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

    Helpful thanks

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

    Excellent

  • @अभिजातमराठी
    @अभिजातमराठी 3 ปีที่แล้ว

    Helpful information, thanks!

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

    Very helpful...Thanks:)

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

    Excellent but in between there are some glitches otherwise its awesome.

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

    Excellent work

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

    ITS A GREAT VIDEO.

  • @DavinderSingh-kn8qz
    @DavinderSingh-kn8qz 3 ปีที่แล้ว +3

    Not practically possible to always pass entire payload in constructors, instead we should use getter setters

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

    Super

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

    Awesome bro, all real world interview questions on Restassured..... Help me lot

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

    Please share this program ... complete

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

    How api is authenticated @

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

    👍👍👍👍

  • @manojhegde7651
    @manojhegde7651 8 หลายเดือนก่อน

    Noone is bothered by the green screen in the middle?

  • @gaur_sisters
    @gaur_sisters 11 หลายเดือนก่อน +1

    Very well explained

  • @Djani-i9f
    @Djani-i9f หลายเดือนก่อน

    Excellent

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

    Very useful