Bird
0
0

Which tool is commonly used for contract testing in REST APIs?

easy📝 Conceptual Q2 of 15
Rest API - API Testing and Monitoring
Which tool is commonly used for contract testing in REST APIs?
ASelenium
BJMeter
CPact
DPostman Collection Runner
Step-by-Step Solution
Solution:
  1. Step 1: Identify contract testing tools

    Pact is a popular tool designed specifically for contract testing between API consumers and providers.
  2. Step 2: Understand other tools' purposes

    Selenium is for UI testing, JMeter for performance testing, and Postman Collection Runner for API functional testing, not contract testing.
  3. Final Answer:

    Pact -> Option C
  4. Quick Check:

    Contract testing tool = Pact [OK]
Quick Trick: Pact is made for contract testing, others serve different purposes [OK]
Common Mistakes:
MISTAKES
  • Choosing Selenium for API contract testing
  • Confusing performance tools with contract testing tools
  • Assuming Postman Collection Runner is for contract testing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes