API Testing Interview Questions and Answers| 3+ YOE
Summary
TLDRIn this interview, Nikita Vishnani discusses her 5.8 years of experience in software testing, including automation, API, and manual testing. She shares her expertise with Selenium for UI testing and tools like Postman, SoapUI, and the Karate framework for API testing. Nikita explains her role in an agile project, detailing her contributions to an automation framework using Cucumber with feature files and step definitions. She also talks about her experience with test case prioritization and coverage, and the challenges of achieving full test coverage. The interview concludes with a discussion on the importance of test estimation and the difference between statement and branch decision coverage.
Takeaways
- đ Nikita Vishnani has 5.8 years of experience in testing, including automation, API testing, and manual testing.
- đ ïž Nikita has been working with Selenium for two years and is experienced with API testing tools like Postman, Soap UI, and the Karate framework.
- đ Nikita's current project follows an Agile methodology with sprints of about seven days, where user stories are analyzed and test cases and scripts are developed for automation.
- đ Nikita uses the BDD framework with Cucumber, involving feature files, step definitions, and a base class for reusable functionalities like login.
- đ Nikita's contributions include writing test scripts, which are a significant part of the automation framework.
- đ Nikita is familiar with various authentication methods in Postman, including OAuth, no authentication, basic authentication, and others.
- đ Nikita understands the concept of a payload in Postman, which is the body of a POST request containing data to be sent to the server.
- đ Nikita is aware of the use of environment variables in Postman, distinguishing between local and global scopes.
- đ Nikita can troubleshoot API errors, such as a 404 not found status, by checking Swagger documents and correcting typos or other mistakes.
- đ Nikita is advised to learn about CI/CD tools like Jenkins after the interview to meet market standards.
- đ Nikita discusses the importance of test coverage and the use of a traceability matrix to map test cases to requirements, acknowledging that 100% coverage might not always be achievable.
Q & A
What is Nikita Vishnani's experience in testing?
-Nikita Vishnani has 5.8 years of experience in testing, including automation, API testing, and manual testing.
What tools does Nikita use for UI and API testing?
-Nikita uses Selenium for UI testing and Postman for API testing. She also has experience with Soap UI and the Karate framework.
How does Nikita's team approach testing in an agile project?
-In an agile project, Nikita's team follows a sprint cycle of about seven days. They receive user stories, analyze them, decide what can be automated, build test cases and scripts, and then execute tests.
What is the role of the BDD framework with Cucumber in Nikita's work?
-Nikita uses the BDD framework with Cucumber, which involves feature files, step definitions, and a base class for reusable functionalities like login. She contributes by writing test scripts based on user stories.
How does Nikita's team manage test data?
-Nikita's team uses JSON files to store test data for automation.
What is Nikita's experience with CI/CD integration?
-Nikita's current project does not have CI/CD integration. They manually build, configure, and run tests, generating reports in PDF format.
What exception might be thrown when passing the wrong content type in an API request?
-When passing the wrong content type in an API request, a '415 Unsupported Media Type' exception might be thrown.
What is a collection in Postman?
-A collection in Postman is a set of similar requests used for testing functionality. It can include GET, POST, and other types of requests.
What are the different types of authentication methods Nikita is aware of in Postman?
-Nikita is aware of OAuth 1.0 and 2.0, no authentication (no auth), basic authentication, and digest authentication.
What is the significance of a payload in Postman?
-In Postman, a payload refers to the body of a POST request where changes can be made for testing purposes. It contains the data sent to the server.
What are the scopes of environment variables in Postman?
-In Postman, environment variables can have local or global scope. Local variables are specific to a request, while global variables can be used across all requests.
How does Nikita troubleshoot a 404 not found error in an API?
-Nikita would troubleshoot a 404 not found error by rechecking the Swagger documentation for any changes, such as a title change that could cause the error.
How does Nikita validate response status codes in Postman?
-Nikita validates response status codes by comparing the data received with data from another application or document. She is also aware of using tests in Postman for validation.
How does Nikita share her Postman collection with a team member?
-Nikita can share her Postman collection with a team member by using the same workspace, downloading the collection, or sharing it directly through Postman.
What is the difference between POST and PUT requests according to Nikita?
-Nikita explains that POST is used for creating a new resource, while PUT is used for making modifications or editing an existing resource.
How does Nikita determine test coverage?
-Nikita determines test coverage by mapping test cases to requirements and using a traceability matrix to track coverage percentages.
What is Nikita's approach to prioritizing test cases for maximum coverage?
-Nikita prioritizes test cases based on requirements and limitations, focusing on critical functionalities first to ensure there are no blockers early in the process.
Outlines
Cette section est réservée aux utilisateurs payants. Améliorez votre compte pour accéder à cette section.
Améliorer maintenantMindmap
Cette section est réservée aux utilisateurs payants. Améliorez votre compte pour accéder à cette section.
Améliorer maintenantKeywords
Cette section est réservée aux utilisateurs payants. Améliorez votre compte pour accéder à cette section.
Améliorer maintenantHighlights
Cette section est réservée aux utilisateurs payants. Améliorez votre compte pour accéder à cette section.
Améliorer maintenantTranscripts
Cette section est réservée aux utilisateurs payants. Améliorez votre compte pour accéder à cette section.
Améliorer maintenantVoir Plus de Vidéos Connexes
Software Testing Tutorial #24 - Regression Testing in Agile Development
API testing interview questions and answers for QA Engineers
ISTQB FOUNDATION 4.0 | Tutorial 35 | Branch Testing & Branch Coverage | Test Case Techniques | CTFL
ISTQB FOUNDATION 4.0 | Tutorial 34 | Statement Testing | Statement Coverage | Test Techniques | CTFL
CH05.L07 . White Box techniques
Software Testing Tutorial #33 - Different Test Design Techniques
5.0 / 5 (0 votes)