Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Performance & resilienceMiddleCommonScenario

How would you design a spike test?

Answer

Start from a known steady workload, increase arrivals sharply to the risk level you want to simulate, hold long enough to observe the system, then reduce load and measure recovery. Define success for both the burst and the return to steady state: latency, errors, queue depth, rejected work, autoscaling or throttling behavior, data correctness and whether resources recover without manual intervention.

Strong answer includes

  • models a sudden transition rather than a slow stress ramp
  • defines expected overload behavior and recovery
  • checks correctness and queues as well as latency

Practical example

A ticket sale opens at 10:00. Run five minutes at normal traffic, jump rapidly to the expected opening burst, then return to normal traffic and verify the service drains queues and returns to its original latency and resource levels.

#spike-testing#burst#recovery#autoscaling#queues

Sources

Performance Testing Interview Questions with AnswersGeeksforGeeks · Current recurrence signal for performance-testing fundamentals, test types, workload design, metrics, bottlenecks, test process and tool selectionPerformance Testing Interview Questions: JMeter, k6 & LoadRunner (2026)SoftwareTestPilot · Current recurrence signal for load versus stress, performance metrics, JMeter, k6, correlation, CI/CD, baselines and bottleneck analysisTop 50 JMeter Interview QuestionsArtOfTesting · Independent recurrence signal for performance test types, activities, parameterization, correlation, ramp-up, CLI mode, percentiles, distributed load and troubleshooting scenariosISTQB Certified Tester Foundation Level Specialist Syllabus — Performance TestingISTQB · Authoritative performance-testing terminology, test types, metrics, load generation, operational profiles, planning, execution and result analysis