Forum Discussion
Alan_63492
Nimbostratus
Jul 14, 2009Load Testing Tool on One Workstation
I'm trying to create an iRule that will load balance between pool members for a single workstation that is running LoadRunner (load testing tool). The tool is set to simulate 50 concurrent connections. Initially, they were only going to one node due to persistency. I created the following iRule, but with no persistency their losing the session state with the App servers in the pool and getting session timeout errors.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals "10.100.x.x"] } {
log local0.info "Changing persistence to none for [IP::remote_addr] -> [IP::local_addr]"
set value [persist none]
}
}
- The_Bhattman
Nimbostratus
Other IT members within my company had the same problem. They got around by adding around 15 IP aliases to the workstation and basically running their test sourcing from different IP addresses. It allowed the test to work because persistance was based on host ip addresses. - hoolio
Cirrostratus
cmbhatt's suggestion makes good sense. If you can configure LoadRunner to submit cookies that LTM sets, you could use cookie insert persistence with a OneConnect profile (Click here) to give more granular load balancing than source IP address persistence.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects