Performance Testing Load Balanced Application

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Performance Testing Load Balanced Application

Adekunbi Adewojo
I want to do a performance test on some load balanced application.  However I am not sure of how to go about the following:

  *   Because Jmeter sees/knows only the load balancer IP, I am not able to get a definite result of what happens at the load balanced application for example, if I want to get the response time of each application that is being load balanced how do I go about getting it?
  *   Secondly, I have multiple thread groups, representing tenants, is there a way I can aggregate the results of the multiple thread group?

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Performance Testing Load Balanced Application

glinius@live.com
1. JMeter doesn't know anything about your application infrastructure, when
it comes to load testing load balanced applications it's a good idea to add
DNS Cache Manager
<https://jmeter.apache.org/usermanual/component_reference.html#DNS_Cache_Manager>  
to your Test Plan so each thread (virtual user) would resolve the IP address
of load balancer on its own. Also if there is some form of  session
stickiness
<https://www.imperva.com/learn/availability/sticky-session-persistence-and-cookies/>  
you can trace down the relevant HTTP Header or part of the URL. If you need
insights what happens under the hood of your application infrastructure
during the load test you should go for an  APM tool
<https://www.blazemeter.com/blog/getting-the-full-application-picture-with-blazemeter-and-apm-integration>  

2. JMeter automatically aggregates all the results no matter of the origin
(thread group), if you need to have ability to distinguish results coming
from different thread groups you can use  __threadGroupName()
<https://jmeter.apache.org/usermanual/functions.html#__threadGroupName>  
function for this



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]