Reputation: 5781
I am trying to use JMeter to load test a load balancer, however, I'd like to group the results by the underlying IP Address being used to send the actual request.
I've added a DNS Cache Manager so I can control the DNS caching of the request, but, the results are reported for the entire session. What I'm looking for is the numbers to be broken out (or grouped) by the underlying IP address being used to send each individual request on the thread.
Upvotes: 1
Views: 463
Reputation: 58774
Assuming you can know after response the IP , for example using Regular Expression Extractor or JDBC Post Processor, then save IP in variable name as currentIP
and add to the Sampler also JSR223 PostProcessor which will change the label:
prev.setSampleLabel("SamplerName with IP: " + vars.get("currentIP"));
Each IP will create different label and therefore results will be grouped by IPs.
Upvotes: 1