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

Поділитися
Вставка
  • Опубліковано 4 вер 2024
  • Here you will learn Top 10 interview questions and answers for REST-Assured API Automation .
    Additional Info
    Link for SDET/QA Interview Full Play List ► bit.ly/3frBpQZ
    Link for API Testing Full Play List ► bit.ly/2BY0vHu
    Link for Cypress Tutorial Full Play List ► bit.ly/3iMdi2a
    Link for Web-services Full Play List ► bit.ly/3bfK0Ef
    Link for Protractor Testing Full Play List ► bit.ly/2ztlEIK
    Link for Java Programs for Software Testers Full Play List ► bit.ly/2ZGeBFC
    Link for Java Tutorial Full Play List ► bit.ly/2Z3tP8L
    Link for Selenium Tutorial Full Play List ► bit.ly/3vFR9X5
    Link for TestNG Full Play List ► bit.ly/3jGJ3YT
    Please subscribe to our channel ► bit.ly/2UIvFcm
    and press the bell icon to get updates on latest tutorial.
    #softwaretestingandautomation #subhasishmishra #softwaretesting #selenium #apitesting #java #restassuredapiautomation #testng #sql #unix #automationtesting #softwaretestinginterviewquestionandanswers #testautomation

КОМЕНТАРІ • 116

  • @hmpjandroid
    @hmpjandroid 2 роки тому +20

    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..

  • @rakeshhansalia
    @rakeshhansalia 2 роки тому +23

    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?

  • @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

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

    You have been absolutely clear crisp and amazing. GBU

  • @thetestquest
    @thetestquest Рік тому +3

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

  • @umangsharma7447
    @umangsharma7447 2 роки тому +2

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

  • @shoaibkolkata
    @shoaibkolkata 2 дні тому

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

  • @Gopi_Pamulapati
    @Gopi_Pamulapati 3 роки тому +3

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

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

      Thank you 😊

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

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

    • @SoftwareTestingAndAutomation
      @SoftwareTestingAndAutomation  3 роки тому +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 3 роки тому

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

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

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

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

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

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

    Awesome video, you have cleared many of my doubts

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

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

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

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

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

    Very well explained. Thankyou

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

    Thank you very good explanation.

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

    Thanks a lot.

  • @gaur_sisters
    @gaur_sisters 7 місяців тому +1

    Very well explained

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

    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

  • @kaz-ittraininghub9388
    @kaz-ittraininghub9388 3 роки тому +1

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

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

    Thank you.. Nicely explained.

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

    Awesome explanation.. Thanks!

  • @beingkind3610
    @beingkind3610 10 місяців тому +1

    Thank you so much! ❤

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

    Thanks a lot!!! it was an amazing explanation

  • @svetlanamazhaykina6918
    @svetlanamazhaykina6918 8 місяців тому

    Thanks for your work! Well done!

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

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

  • @priyatayal4541
    @priyatayal4541 3 роки тому +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  3 роки тому +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 3 роки тому +2

      @@SoftwareTestingAndAutomation thanks a tone 😊

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

      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

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

    Very useful

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

    Best API video ❤❤

  • @ShlokasInsights
    @ShlokasInsights 9 місяців тому

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

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

    Helpful thanks

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

    Excellent

  • @user-qw7fz4cv4b
    @user-qw7fz4cv4b 3 роки тому

    Helpful information, thanks!

  • @_tanugupta
    @_tanugupta 3 місяці тому

    This was so good❤

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

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

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

    very informative video.

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

    Good video 👍

  • @ashutoshpandey5416
    @ashutoshpandey5416 9 місяців тому

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

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

    Very helpful...Thanks:)

  • @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 ua-cam.com/video/Fs8fsrngI3Q/v-deo.html

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

      @@SoftwareTestingAndAutomation Thanks! I will go through it.

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

    Super

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

    Excellent work

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

    ITS A GREAT VIDEO.

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

    How we will come to know that import relevant methods needs

  • @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 ua-cam.com/video/7LIeP16Ki9g/v-deo.html ua-cam.com/video/9yD5tSFuod8/v-deo.html and ua-cam.com/video/UqYf_a4auGM/v-deo.html

  • @DavinderSingh-kn8qz
    @DavinderSingh-kn8qz 3 роки тому +3

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

  • @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")))))

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

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

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

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

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

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

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

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

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

      @@SoftwareTestingAndAutomation Thanks

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

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

  • @atulgupta9202
    @atulgupta9202 3 роки тому +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  3 роки тому

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

    • @atulgupta9202
      @atulgupta9202 3 роки тому +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

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

    Please share this program ... complete

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

    👍👍👍👍

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

    How api is authenticated @

  • @manojhegde7651
    @manojhegde7651 4 місяці тому

    Noone is bothered by the green screen in the middle?

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

    Very well explained

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

    Very useful