API Interview Questions


1. Can you explain your API automation framework which you are using in your organization? Follow below video for the same:



2. How you are passing test data? Follow below video for the same:



3. What are the challenges you are faced while API automation?



4. What is the difference between authentication and authorization? Follow below video:



5. What is OAUTH and how it works?:



6. What is access token and how to generate it?.



7. What all authorization are available, and which one you guys are using in your organization?:



8. What is the difference between POST and PUT? - why POST is not idempotent?:



9. What is the difference between PUT and PATCH?:



10. Can we use POST instead of PUT and vice versa?:



11. Write code to fetch data from response- JSON Object? Follow below videos for the same:





12. Write code to fetch data from response- JSON Array?:



13. Suppose you have to set null value to any filed which is already having some data while UPDATE. How can you do that while generating payload?:

Coming soon...


14. How to convert JSON to HashMap?:



15. What is root and how to set it?:

Coming soon...


16. Explain 1XX Status Codes:



17. Explain 2XX Status Codes:



18. Explain 3XX Status Codes:



19. Explain 4XX Status Codes:



20. Explain 5XX Status Codes:



21. How to use response of one API as test data for other another?.

Coming soon...


22. What is difference between then and then returns in Rest assured?

Coming soon...


23. Difference between query param and path param?

Coming soon...


Comments

  1. Amazing blog!! Thanks it will help me in my interviews

    ReplyDelete
  2. hi bro, for the question no.14 How to convert JSON to HashMap?
    i think ,you refered to wrong video, please check

    ReplyDelete

Post a Comment

Popular posts from this blog

Prerequisite/Setup for Automation-Selenium/Appium/API using JAVA Maven Project