Search GimmeJob

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

When do you need distributed load generation, and what can go wrong with it?

Answer

Distribute generation when one injector cannot produce the required request rate or concurrency without becoming CPU-, memory- or network-bound. Keep generators comparable, place them intentionally relative to the target, provision test data on each worker, synchronize configuration and watch the generators themselves. In JMeter remote mode each server runs the configured plan, so total load must be calculated across workers rather than assuming the controller divides one thread count automatically.

Strong answer includes

  • scales out only after measuring injector capacity
  • monitors CPU, memory and network on load generators
  • understands that distributed topology and per-worker data affect the result

Practical example

If six JMeter workers each execute a 1,000-thread plan, the target can see about 6,000 threads, not 1,000 split six ways. The exact traffic still depends on pacing and response time.

#distributed-testing#load-generators#jmeter#locust#capacity

Sources

JMeter Interview QuestionsAssertHired · Independent interview-pattern signal for realistic load design, test-plan structure, correlation, distributed testing, percentiles, SLOs and CI/CDTop 20 JMeter Interview QuestionsQAPractices · Independent scenario-based signal for JMeter components, timers, assertions, correlation, distributed testing and result analysisTop 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 — Remote (Distributed) TestingApache JMeter · Technical authority for distributed load generation, controller/worker behavior, data files and generator-side bottlenecksApache JMeter User's Manual — Best PracticesApache JMeter · Technical authority for load-generator sizing, coordinated omission, CLI execution, listener cost, CSV data and large-scale executionLocust documentation — Distributed load generationLocust · Technical authority for master/worker load generation and generator CPU constraints