Testing / Apache JMeter Interview questions
When should you use a Transaction Controller?
Use a Transaction Controller when you want to measure the combined response time of several samplers as a single logical business transaction - for example, treating "login" (which might involve two or three separate HTTP requests) as one measured unit rather than analyzing each underlying request in isolation.
This is particularly useful when reporting to stakeholders who care about business-level metrics ("how long does checkout take end to end") rather than individual technical requests, since the Transaction Controller's combined timing maps more directly to that kind of question.
It's less useful, and can actually obscure the picture, if applied indiscriminately around unrelated samplers just to reduce the number of rows in a report, since combining timings that don't represent one real logical transaction makes it harder to diagnose which specific underlying request is actually slow.
More Related questions...
