How to locate web elements having dynamic Id's in a cluster of servers using JMeter?

541 Views Asked by At

I am using JMeter to test performance of the following Server Infrastructure. The Code Base uses ICEfaces framework and hence generates dynamic ID's each time there is a new build.

I record the scripts and run them for different variants of load (10 Users, 20 Users, 30 Users and so on). Whenever a new code base is deployed, because of change in ID's, I have to re-record the scripts before I perform Test runs again. As of now I am able to satisfactorily get my job done. Standalone Server

I wish to take my job to a whole new level by trying to test performance on the following Server Infrastructure.

Cluster Configuration

The following are my issues -

  • Because of two different nodes (Node1 and Node2) each node has a unique set of dynamic ID's associated with it and when I record a script on a particular login session, I cannot be sure of the Node my session is pinned on and as a result the recorded script is tailor made for a single node and not a cluster.
  • When "Load Balancer" gets in action, I cannot be sure of the Node JMeter hits during performance run and for obvious reasons the run fails to generate results.

I want a cleaver way to record script which can successfully run on a multiple server configuration.

How to perform performance Testing on this configuration?

0

There are 0 best solutions below