← All API Flashcard Decks

API Performance Testing 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 Performance Testing flashcards as text
  1. What is the purpose of a 'spike test' in API performance testing?

    Answer: Test how the API handles a sudden large burst of traffic

    Spike testing sends a sudden, massive increase in load to see whether the API can recover and handle abrupt traffic surges.

  2. Which metric measures the percentage of API requests that fail during a performance test?

    Answer: Error rate

    Error rate is the percentage of total requests that return error responses (4xx or 5xx) during a performance test run.

  3. What does 'virtual users' (VUs) mean in the context of API performance tools like k6?

    Answer: Simulated concurrent clients sending API requests

    Virtual users (VUs) are simulated concurrent clients that each follow a test script, allowing testers to model realistic multi-user load.

  4. Which modern performance testing tool uses JavaScript-based scripts and is popular for CI/CD integration?

    Answer: k6

    k6 by Grafana Labs uses JavaScript test scripts and is designed for developer-friendly, CI/CD-integrated performance testing.

  5. What is the significance of setting a 'think time' in API performance test scripts?

    Answer: Simulating realistic user delays between consecutive requests

    Think time simulates the natural pause a real user takes between actions, making load patterns more realistic and avoiding artificial request bursts.

  6. What does the Apdex score measure in API performance monitoring?

    Answer: User satisfaction based on response time thresholds

    Apdex (Application Performance Index) is a standardized score from 0–1 measuring user satisfaction by bucketing response times into Satisfied, Tolerating, and Frustrated.