Search code examples
jmeterperformance-testingbenchmarkingload-testingjmeter-plugins

Jmeter: Access all results from all threadGroups from JSR223 Sampler or BeanShell Sampler in TeardownThread


is there a way to get info about all requests in the mentioned samplers after main thread group finished? In TeardownThread maybe? I want to perform some calculation and send couple request which are based on info about those requests and it is to resource consuming to do it with sampler for each of the requests.


Solution

  • No.

    The options are in:

    1. Parse the .jtl results file
    2. Use the JSR23 Listener in the main Thread Group. The Listeners obey JMeter Scoping Rules if you don't want your code to run after all samplers
    3. Create a JMeter Plugin, the most suitable option for your case would be your own implementation of Backend Listener