API Test Automation Flashcards
6 cards from real API practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 API Test Automation flashcards as text
Which Java-based framework is widely used for REST API test automation?
Answer: Rest Assured
Rest Assured is a Java DSL that simplifies writing automated tests for REST APIs with a fluent, readable given-when-then syntax.
What is the BDD approach in API test automation?
Answer: Behavior-Driven Development using human-readable scenarios to define tests
BDD (Behavior-Driven Development) writes tests in plain English scenarios (Given/When/Then) that both technical and non-technical stakeholders can understand.
What is the benefit of using test tags or categories in an API automation suite?
Answer: Selectively run subsets of tests based on criteria like smoke, regression, or security
Tags allow teams to selectively execute specific test groups, such as running only smoke tests after a deployment or full regression tests nightly.
What does 'idempotent test setup' mean in API test automation best practices?
Answer: Setup that produces the same starting state regardless of how many times it runs
Idempotent setup ensures running the setup script multiple times always results in the same clean state, preventing test interference from leftover data.
Which tool provides a Postman-compatible alternative for API testing with a focus on open-source collaboration?
Answer: Insomnia
Insomnia is an open-source REST API client and testing tool that offers an alternative to Postman with similar request-building and testing capabilities.
What is the advantage of running API tests in parallel rather than sequentially?
Answer: Significantly reduces total test suite execution time
Parallel test execution runs multiple tests simultaneously, reducing total runtime from hours to minutes and enabling faster CI/CD feedback cycles.