jmeter How to capture response times etc of child of a SampleResult

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

Deepak Jha

New Member
Nov 1, 2017
1
0
0
36
HI,
I have created a custom "JavaRequest" sampler by extending AbstractJavaSamplerClient class for my test.

My Sampler is making multiple calls to other dependent function i.e. Main Txn is making calls to multiple other txn which are captured in different function.

I have managed to add all other other txn's result as a subresult.

SampleResult topResult = new SampleResult(); // For main Request which calls other txns

All other txns have been added as follows -
topResult.addSubResult(.....);

The issue is that none of the jmeter listeners report the subresult metrics.

Could any one point me to readily available plugin/jar/src to capture subresult response times etc?
I have google and found few source code but was not succesful in compiling those as most classed are deprecated in latest jmeter 3.3.

Any help will be appreciated!

thanks
Deepak