Search GimmeJob

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

How do you prove that the load generator is not the bottleneck?

Answer

Monitor generator CPU, memory, network, process limits and achieved request rate while increasing load. Use lightweight execution modes and remove expensive listeners or script work. If the injector saturates before the target, scale it vertically or horizontally and repeat. A healthy target with an injector pinned at CPU or unable to reach the requested arrival rate is an invalid capacity conclusion about the system under test.

Strong answer includes

  • monitors injector resources and achieved traffic
  • uses efficient CLI/headless execution
  • scales generators and reruns before blaming the target

Practical example

If requested traffic rises from 1,000 to 1,500 RPS but actual traffic stays at 1,050 RPS while generator CPU is near saturation, add generator capacity before concluding that the application tops out at 1,050 RPS.

#load-generator#injector#capacity#distributed-testing#validity

Sources

JMeter Interview QuestionsAssertHired · Independent interview-pattern signal for realistic load design, test-plan structure, correlation, distributed testing, percentiles, SLOs and CI/CDTop 50 JMeter Interview QuestionsArtOfTesting · Independent recurrence signal for performance test types, activities, parameterization, correlation, ramp-up, CLI mode, percentiles, distributed load and troubleshooting scenariosApache JMeter User's Manual — Best PracticesApache JMeter · Technical authority for load-generator sizing, coordinated omission, CLI execution, listener cost, CSV data and large-scale executionApache JMeter User's Manual — Remote (Distributed) TestingApache JMeter · Technical authority for distributed load generation, controller/worker behavior, data files and generator-side bottlenecksLocust documentation — Distributed load generationLocust · Technical authority for master/worker load generation and generator CPU constraints