Kumaran
Kumaran

Reputation: 13

Jmeter - Transaction Controller with enabling Generate Parent sample

In my load test homepage i am having 10 api calls and i am using; Transaction controller with Generate Parent sample They ask me the report by enabling Generate Parent sample

  1. without enabling Generate Parent sample my result with response time is good
  2. But with enabling Generate Parent sample my result responses are with huge delay, why this delay which result is correct

Note : i am using 10 api which does not has child things like css, js,etc

My configuration looks like i am using constant throughput timer - 30.0 for all active threads enter image description here

Upvotes: 0

Views: 155

Answers (1)

Dmitri T
Dmitri T

Reputation: 168122

If "they ask" you and you're obeying then why you're asking us in your turn instead of "them"?

Transaction Controller in "Generate Parent Sample" mode returns cumulative elapsed time of all its children.

To wit if you have 10 API calls under the Transaction Controller in "Generate parent sample" mode the Transaction Controller' "elapsed" time will be the sum of all its children (either Sampler or other Logic Controllers)

We don't know which result is correct as well because it depend on the business use cases of your API with end users or upstream systems and the NFR and/or SLA

Upvotes: 0

Related Questions